aboutsummaryrefslogtreecommitdiff
path: root/assets/js/src
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2017-12-16 13:44:17 +0200
committerXhmikosR <[email protected]>2018-01-11 18:48:46 +0200
commit6d336502c7e26c4cc5b35f1d7a19c067b774cb1f (patch)
tree249843876c99ceda24f3a1a65006a5753811d4e9 /assets/js/src
parent92cc0aba7be08add9833e1303088928363c3c199 (diff)
downloadbootstrap-6d336502c7e26c4cc5b35f1d7a19c067b774cb1f.tar.xz
bootstrap-6d336502c7e26c4cc5b35f1d7a19c067b774cb1f.zip
Clean up and tweak ESLint rules.
Also, refactor ESLint and stylelint config files; now everything will work from our root dir.
Diffstat (limited to 'assets/js/src')
-rw-r--r--assets/js/src/ie-emulation-modes-warning.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/src/ie-emulation-modes-warning.js b/assets/js/src/ie-emulation-modes-warning.js
index c8984cc35..ca2ae1222 100644
--- a/assets/js/src/ie-emulation-modes-warning.js
+++ b/assets/js/src/ie-emulation-modes-warning.js
@@ -41,6 +41,7 @@
var nonEmulated = actualNonEmulatedIEMajorVersion()
if (emulated !== nonEmulated) {
+ // eslint-disable-next-line no-alert
window.alert('WARNING: You appear to be using IE' + nonEmulated + ' in IE' + emulated + ' emulation mode.\nIE emulation modes can behave significantly differently from ACTUAL older versions of IE.\nPLEASE DON\'T FILE BOOTSTRAP BUGS based on testing in IE emulation modes!')
}
}())