mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-07 04:54:24 +01:00
Merge pull request #10863 from DeanMarkTaylor/patch-2
Update Gruntfile.js fixing undefined jQuery check
This commit is contained in:
commit
a84bd5d9f1
@ -15,7 +15,7 @@ module.exports = function(grunt) {
|
|||||||
'*\n' +
|
'*\n' +
|
||||||
'* Designed and built with all the love in the world by @mdo and @fat.\n' +
|
'* Designed and built with all the love in the world by @mdo and @fat.\n' +
|
||||||
'*/\n',
|
'*/\n',
|
||||||
jqueryCheck: 'if (!jQuery) { throw new Error(\"Bootstrap requires jQuery\") }\n\n',
|
jqueryCheck: 'if (typeof jQuery === "undefined") { throw new Error(\"Bootstrap requires jQuery\") }\n\n',
|
||||||
|
|
||||||
// Task configuration.
|
// Task configuration.
|
||||||
clean: {
|
clean: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user