2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03: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
+1 -1
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: {