]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Gruntfile: add note about duplicate copy of jqueryCheck code
authorChris Rebert <code@rebertia.com>
Wed, 18 Jun 2014 01:48:15 +0000 (18:48 -0700)
committerChris Rebert <code@rebertia.com>
Wed, 18 Jun 2014 01:48:15 +0000 (18:48 -0700)
Refs #13842

Gruntfile.js

index 3301329ecb7497a2368732619c20560ee3e24db1..d7863315679444b831416f89f95863d1513b5284 100644 (file)
@@ -32,6 +32,7 @@ module.exports = function (grunt) {
             ' * Copyright 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
             ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' +
             ' */\n',
+    // NOTE: This jqueryCheck code is duplicated in customizer.js; if making changes here, be sure to update the other copy too.
     jqueryCheck: 'if (typeof jQuery === \'undefined\') { throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery\') }\n\n',
 
     // Task configuration.