Improve banner

This commit is contained in:
Zlatan Vasović 2013-12-23 18:02:42 +01:00
parent f32796559a
commit 608926e808
5 changed files with 4 additions and 8 deletions

View File

@ -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: {

View File

@ -4,7 +4,6 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
.btn-default,
.btn-primary,
.btn-success,

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,6 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */
article,
aside,

File diff suppressed because one or more lines are too long