Sha256: 8e687c7cab294ce6dda0a63d3387198d8925d76007002bb3e201f0d1e3a84606

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

// `window.ActiveXObject` is "falsey" in IE11 (but not `undefined` or `false`)
// `"ActiveXObject" in window` returns `true` in all IE versions
// only IE11 will pass _both_ of these conditions
export const isIE11 = !window.ActiveXObject && 'ActiveXObject' in window;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
discourse-ember-source-3.5.1.1 dist/es/internal-test-helpers/lib/browser-detect.js
discourse-ember-source-3.5.1.0 dist/dist/es/internal-test-helpers/lib/browser-detect.js