diff options
| author | XhmikosR <[email protected]> | 2017-07-27 13:39:55 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-08-23 00:05:38 +0300 |
| commit | ef8c77d8dcebd13559a141e419d003c2d10cc5f3 (patch) | |
| tree | fa0efba9d60de5570eeac2b7ae0262916d64401d /assets | |
| parent | 0492c3a4cd0aed19f46c5472a54ee8700c1a328e (diff) | |
| download | bootstrap-ef8c77d8dcebd13559a141e419d003c2d10cc5f3.tar.xz bootstrap-ef8c77d8dcebd13559a141e419d003c2d10cc5f3.zip | |
Tweak ESLint rules.
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/js/ie-emulation-modes-warning.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/js/ie-emulation-modes-warning.js b/assets/js/ie-emulation-modes-warning.js index c8f0bcac5..1b4716bf5 100644 --- a/assets/js/ie-emulation-modes-warning.js +++ b/assets/js/ie-emulation-modes-warning.js @@ -27,7 +27,7 @@ // IE JavaScript conditional compilation docs: https://msdn.microsoft.com/library/121hztk3%28v=vs.94%29.aspx // @cc_on docs: https://msdn.microsoft.com/library/8ka90k2e%28v=vs.94%29.aspx var jscriptVersion = new Function('/*@cc_on return @_jscript_version; @*/')() // eslint-disable-line no-new-func - if (jscriptVersion === undefined) { + if (typeof jscriptVersion === 'undefined') { return 11 // IE11+ not in emulation mode } if (jscriptVersion < 9) { |
