mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #12012: Use correct banner in docs js
This commit is contained in:
parent
e4b036d278
commit
567dc12e86
2 changed files with 16 additions and 7 deletions
17
Gruntfile.js
17
Gruntfile.js
|
@ -96,15 +96,24 @@ module.exports = function (grunt) {
|
||||||
},
|
},
|
||||||
|
|
||||||
uglify: {
|
uglify: {
|
||||||
options: {
|
|
||||||
banner: '<%= banner %>\n',
|
|
||||||
report: 'min'
|
|
||||||
},
|
|
||||||
bootstrap: {
|
bootstrap: {
|
||||||
|
options: {
|
||||||
|
banner: '<%= banner %>\n',
|
||||||
|
report: 'min'
|
||||||
|
},
|
||||||
src: ['<%= concat.bootstrap.dest %>'],
|
src: ['<%= concat.bootstrap.dest %>'],
|
||||||
dest: 'dist/js/<%= pkg.name %>.min.js'
|
dest: 'dist/js/<%= pkg.name %>.min.js'
|
||||||
},
|
},
|
||||||
customize: {
|
customize: {
|
||||||
|
options: {
|
||||||
|
banner: '/*!\n' +
|
||||||
|
' * Bootstrap Docs (<%= pkg.homepage %>)\n' +
|
||||||
|
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
|
||||||
|
' * Licensed under the Creative Commons Attribution 3.0 Unported License. For\n' +
|
||||||
|
' * details, see http://creativecommons.org/licenses/by/3.0/.\n' +
|
||||||
|
' */\n',
|
||||||
|
report: 'min'
|
||||||
|
},
|
||||||
src: [
|
src: [
|
||||||
'docs-assets/js/less.js',
|
'docs-assets/js/less.js',
|
||||||
'docs-assets/js/jszip.js',
|
'docs-assets/js/jszip.js',
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue