From: Chris Rebert Date: Wed, 18 Jun 2014 01:48:15 +0000 (-0700) Subject: Gruntfile: add note about duplicate copy of jqueryCheck code X-Git-Tag: v3.2.0~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85c15eec0fc585b512cb323caf0044ae03aa2afe;p=thirdparty%2Fbootstrap.git Gruntfile: add note about duplicate copy of jqueryCheck code Refs #13842 --- diff --git a/Gruntfile.js b/Gruntfile.js index 3301329ecb..d786331567 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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.