mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Improve banner
This commit is contained in:
parent
f32796559a
commit
608926e808
5 changed files with 4 additions and 8 deletions
|
@ -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: {
|
||||||
|
|
1
dist/css/bootstrap-theme.css
vendored
1
dist/css/bootstrap-theme.css
vendored
|
@ -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,
|
||||||
|
|
1
dist/css/bootstrap-theme.min.css
vendored
1
dist/css/bootstrap-theme.min.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/bootstrap.css
vendored
1
dist/css/bootstrap.css
vendored
|
@ -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,
|
||||||
|
|
1
dist/css/bootstrap.min.css
vendored
1
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue