From: Stephanie Purvis Date: Sun, 27 Nov 2016 02:46:28 +0000 (-0600) Subject: Tweak jQuery-not-found error message to mention required ordering (#19024) X-Git-Tag: v4.0.0-alpha.6~385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2da3d1c8623d74370c1c6223a80a3e6e0f89f0b2;p=thirdparty%2Fbootstrap.git Tweak jQuery-not-found error message to mention required ordering (#19024) --- diff --git a/Gruntfile.js b/Gruntfile.js index bde873a78e..cb1f0ff5a2 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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' +