Skip to content

Commit

Permalink
Merge pull request #10863 from DeanMarkTaylor/patch-2
Browse files Browse the repository at this point in the history
Update Gruntfile.js fixing undefined jQuery check
  • Loading branch information
cvrebert committed Sep 29, 2013
2 parents 1809894 + 429e92f commit a84bd5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit a84bd5d

Please sign in to comment.