Skip to content

Commit

Permalink
Merge pull request #280 from rwjblue/cleanup-browser-detect
Browse files Browse the repository at this point in the history
Cleanup browser detection and overrides.
  • Loading branch information
rwjblue authored Dec 18, 2017
2 parents 617ec0e + aa7232d commit b0f037b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/helpers/browser-detect.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// `window.ActiveXObject` returns undefined in IE11 (as well as non-IE browsers)
// `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;
Expand Down
1 change: 0 additions & 1 deletion tests/unit/dom/blur-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if (isIE11) {
focusSteps = ['focusin', 'focus'];
blurSteps = ['focusout', 'blur'];
} else if (isEdge) {
focusSteps = ['focus', 'focusin'];
blurSteps = ['focusout', 'blur'];
}

Expand Down

0 comments on commit b0f037b

Please sign in to comment.