diff options
| author | Chris Rebert <[email protected]> | 2013-07-26 01:15:41 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-07-26 01:15:41 -0700 |
| commit | a317f67c1cdc8e630fe18f5d48cfb582a0eda1de (patch) | |
| tree | cdb75a91a5b25b1a9d669287d1a409d4f01569c0 /Gruntfile.js | |
| parent | 292d8d6819925dbc1957895c11eea2562f08bd17 (diff) | |
| download | bootstrap-a317f67c1cdc8e630fe18f5d48cfb582a0eda1de.tar.xz bootstrap-a317f67c1cdc8e630fe18f5d48cfb582a0eda1de.zip | |
re-integrate #8560 using @fat's code from the comment on #8614
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 085974ca4..0e4fc244b 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,13 +9,14 @@ module.exports = function(grunt) { '* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + '* <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' + '*/\n', + jqueryCheck: 'if (!jQuery) { throw new Error(\"Bootstrap requires jQuery\") }\n\n', // Task configuration. clean: { dist: ['dist'] }, concat: { options: { - banner: '<%= banner %>', + banner: '<%= banner %><%= jqueryCheck %>', stripBanners: false }, bootstrap: { |
