Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/grunt
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2015-01-13 23:19:43 +0300
committerChris Rebert <code@rebertia.com>2015-01-13 23:21:32 +0300
commit0dc83955903eafb6589447c2025d05d841f09d57 (patch)
treebbdc98662a8b5ddd230a8d6ef81f270d1ee2dbbb /grunt
parent82d786b5fe510d27bd66f92214c0c586676814a3 (diff)
use strict mode for jqueryVersionCheck; fixes #15535
Diffstat (limited to 'grunt')
-rw-r--r--grunt/configBridge.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/grunt/configBridge.json b/grunt/configBridge.json
index 84ff718728..78e7aae57a 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')",