]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Tweak jQuery-not-found error message to mention required ordering (#19024)
authorStephanie Purvis <stephaniedkendall@gmail.com>
Sun, 27 Nov 2016 02:46:28 +0000 (20:46 -0600)
committerMark Otto <markd.otto@gmail.com>
Sun, 27 Nov 2016 02:46:28 +0000 (18:46 -0800)
Gruntfile.js

index bde873a78e4296fe8ee41c4d127e1befc8ff785a..cb1f0ff5a23c2d0b1632989084ce440371adc926 100644 (file)
@@ -39,7 +39,7 @@ module.exports = function (grunt) {
             ' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' +
             ' */\n',
     jqueryCheck: 'if (typeof jQuery === \'undefined\') {\n' +
-                 '  throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery\')\n' +
+                 '  throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\\'s JavaScript.\')\n' +
                  '}\n',
     jqueryVersionCheck: '+function ($) {\n' +
                         '  var version = $.fn.jquery.split(\' \')[0].split(\'.\')\n' +