2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

Tweak jQuery-not-found error message to mention required ordering (#19024)

This commit is contained in:
Stephanie Purvis
2016-11-26 20:46:28 -06:00
committed by Mark Otto
parent b2bf8294a0
commit 2da3d1c862
+1 -1
View 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' +