Skip to content

Commit 0dc8395

Browse files
committed
use strict mode for jqueryVersionCheck; fixes twbs#15535
1 parent 82d786b commit 0dc8395

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

grunt/configBridge.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
],
3535
"jqueryVersionCheck": [
3636
"+function ($) {",
37+
" 'use strict';",
3738
" var version = $.fn.jquery.split(' ')[0].split('.')",
3839
" if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {",
3940
" throw new Error('Bootstrap\\'s JavaScript requires jQuery version 1.9.1 or higher')",

0 commit comments

Comments
 (0)