diff --git a/Gruntfile.js b/Gruntfile.js index b7b780f9eb3d..f1ae2266f59b 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: {