From 2da3d1c8623d74370c1c6223a80a3e6e0f89f0b2 Mon Sep 17 00:00:00 2001 From: Stephanie Purvis Date: Sat, 26 Nov 2016 20:46:28 -0600 Subject: [PATCH] Tweak jQuery-not-found error message to mention required ordering (#19024) --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index bde873a78..cb1f0ff5a 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' +