Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 21b68fc558..ef4d6855e5 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -18,8 +18,8 @@ module.exports = function (grunt) {
banner: '/*!\n' +
' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
- ' * Licensed under MIT (<%= _.pluck(pkg.licenses, "url").join(", ") %>)\n' +
- ' */\n\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',
// Task configuration.
@@ -69,7 +69,7 @@ module.exports = function (grunt) {
concat: {
options: {
- banner: '<%= banner %><%= jqueryCheck %>',
+ banner: '<%= banner %>\n<%= jqueryCheck %>',
stripBanners: false
},
bootstrap: {
@@ -93,7 +93,7 @@ module.exports = function (grunt) {
uglify: {
options: {
- banner: '<%= banner %>',
+ banner: '<%= banner %>\n',
report: 'min'
},
bootstrap: {