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' + banner: '/*!\n' +
' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' + ' * Bootstrap v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + ' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
' * Licensed under MIT (<%= _.pluck(pkg.licenses, "url").join(", ") %>)\n' + ' * Licensed under <%= _.pluck(pkg.licenses, "type") %> (<%= _.pluck(pkg.licenses, "url") %>)\n' +
' */\n\n', ' */\n',
jqueryCheck: 'if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery") }\n\n', jqueryCheck: 'if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery") }\n\n',
// Task configuration. // Task configuration.
@ -69,7 +69,7 @@ module.exports = function (grunt) {
concat: { concat: {
options: { options: {
banner: '<%= banner %><%= jqueryCheck %>', banner: '<%= banner %>\n<%= jqueryCheck %>',
stripBanners: false stripBanners: false
}, },
bootstrap: { bootstrap: {
@ -93,7 +93,7 @@ module.exports = function (grunt) {
uglify: { uglify: {
options: { options: {
banner: '<%= banner %>', banner: '<%= banner %>\n',
report: 'min' report: 'min'
}, },
bootstrap: { bootstrap: {

View File

@ -4,7 +4,6 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/ */
.btn-default, .btn-default,
.btn-primary, .btn-primary,
.btn-success, .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) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/ */
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */
article, article,
aside, aside,

File diff suppressed because one or more lines are too long