]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
most of Bootstrap's components are pure CSS and thus don't require jQuery 12480/head
authorChris Rebert <code@rebertia.com>
Fri, 31 Jan 2014 17:50:45 +0000 (09:50 -0800)
committerChris Rebert <code@rebertia.com>
Fri, 31 Jan 2014 17:50:47 +0000 (09:50 -0800)
Refs https://news.ycombinator.com/item?id=7156305

Gruntfile.js

index ec9fb594e731e39f0f3c9477d5cbcc6072ec259e..f7d3fbc579515c66f6c326e6304c953efd753047 100644 (file)
@@ -32,7 +32,7 @@ module.exports = function (grunt) {
             ' * Copyright 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
             ' * Licensed under <%= _.pluck(pkg.licenses, "type") %> (<%= _.pluck(pkg.licenses, "url") %>)\n' +
             ' */\n',
-    jqueryCheck: 'if (typeof jQuery === \'undefined\') { throw new Error(\'Bootstrap requires jQuery\') }\n\n',
+    jqueryCheck: 'if (typeof jQuery === \'undefined\') { throw new Error(\'Bootstrap\\\'s JavaScript requires jQuery\') }\n\n',
 
     // Task configuration.
     clean: {