From: Chris Rebert Date: Fri, 31 Jan 2014 17:50:45 +0000 (-0800) Subject: most of Bootstrap's components are pure CSS and thus don't require jQuery X-Git-Tag: v3.2.0~403^2~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F12480%2Fhead;p=thirdparty%2Fbootstrap.git most of Bootstrap's components are pure CSS and thus don't require jQuery Refs https://news.ycombinator.com/item?id=7156305 --- diff --git a/Gruntfile.js b/Gruntfile.js index ec9fb594e7..f7d3fbc579 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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: {