aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-09-29 15:32:34 -0700
committerChris Rebert <[email protected]>2013-09-29 15:32:34 -0700
commita84bd5d9f153ffae914f8660a77534fb120ca551 (patch)
treeba1a5dd1809526fbd1990d8d9a729868ded23ed5
parent1809894e8a6e82e4871cbb399fc15c7dee306605 (diff)
parent429e92fd58491acc09e6695e4fb4cf9c39420c44 (diff)
downloadbootstrap-a84bd5d9f153ffae914f8660a77534fb120ca551.tar.xz
bootstrap-a84bd5d9f153ffae914f8660a77534fb120ca551.zip
Merge pull request #10863 from DeanMarkTaylor/patch-2
Update Gruntfile.js fixing undefined jQuery check
-rw-r--r--Gruntfile.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index b7b780f9e..f1ae2266f 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -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: {