aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-01-13 12:19:43 -0800
committerChris Rebert <[email protected]>2015-01-13 12:21:32 -0800
commit0dc83955903eafb6589447c2025d05d841f09d57 (patch)
treebbdc98662a8b5ddd230a8d6ef81f270d1ee2dbbb
parent82d786b5fe510d27bd66f92214c0c586676814a3 (diff)
downloadbootstrap-0dc83955903eafb6589447c2025d05d841f09d57.tar.xz
bootstrap-0dc83955903eafb6589447c2025d05d841f09d57.zip
use strict mode for jqueryVersionCheck; fixes #15535
-rw-r--r--grunt/configBridge.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/grunt/configBridge.json b/grunt/configBridge.json
index 84ff71872..78e7aae57 100644
--- a/grunt/configBridge.json
+++ b/grunt/configBridge.json
@@ -34,6 +34,7 @@
],
"jqueryVersionCheck": [
"+function ($) {",
+ " 'use strict';",
" var version = $.fn.jquery.split(' ')[0].split('.')",
" if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {",
" throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher')",