1
0
Fork 0
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:
Mark Otto 2013-12-26 19:08:19 -08:00
parent e4b036d278
commit 567dc12e86
2 changed files with 16 additions and 7 deletions

View file

@ -96,15 +96,24 @@ module.exports = function (grunt) {
},
uglify: {
options: {
banner: '<%= banner %>\n',
report: 'min'
},
bootstrap: {
options: {
banner: '<%= banner %>\n',
report: 'min'
},
src: ['<%= concat.bootstrap.dest %>'],
dest: 'dist/js/<%= pkg.name %>.min.js'
},
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: [
'docs-assets/js/less.js',
'docs-assets/js/jszip.js',

File diff suppressed because one or more lines are too long