mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-29 16:24:42 +00:00
Tweak jQuery-not-found error message to mention required ordering (#19024)
This commit is contained in:
parent
b2bf8294a0
commit
2da3d1c862
1 changed files with 1 additions and 1 deletions
|
|
@ -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' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue