mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-25 12:22:50 +01:00
Tweak jQuery-not-found error message to mention required ordering (#19024)
This commit is contained in:
parent
b2bf8294a0
commit
2da3d1c862
@ -39,7 +39,7 @@ module.exports = function (grunt) {
|
|||||||
' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' +
|
' * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n' +
|
||||||
' */\n',
|
' */\n',
|
||||||
jqueryCheck: 'if (typeof jQuery === \'undefined\') {\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',
|
'}\n',
|
||||||
jqueryVersionCheck: '+function ($) {\n' +
|
jqueryVersionCheck: '+function ($) {\n' +
|
||||||
' var version = $.fn.jquery.split(\' \')[0].split(\'.\')\n' +
|
' var version = $.fn.jquery.split(\' \')[0].split(\'.\')\n' +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user