]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
use strict mode for jqueryVersionCheck; fixes #15535
authorChris Rebert <code@rebertia.com>
Tue, 13 Jan 2015 20:19:43 +0000 (12:19 -0800)
committerChris Rebert <code@rebertia.com>
Tue, 13 Jan 2015 20:21:32 +0000 (12:21 -0800)
grunt/configBridge.json

index 84ff718728fd0352c225afe4181d3e97e279ca05..78e7aae57afa233e43eb48dabd9a19085a45d1a5 100644 (file)
@@ -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')",