0
0
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:
Chris Rebert 2013-09-29 15:32:34 -07:00
commit a84bd5d9f1

View File

@ -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: {