mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52: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' +
|
||||
'* Designed and built with all the love in the world by @mdo and @fat.\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.
|
||||
clean: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user