Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 6d1ac6f

Browse files
committed
banner updates
1 parent a5dd2fe commit 6d1ac6f

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

Gruntfile.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = function (grunt) {
77
'<%= pkg.homepage ? " * " + pkg.homepage + "\\n" : "" %>' +
88
' * Implemented to the 2013-12-02 ES6 module specification draft\n' +
99
' * Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
10-
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>\n */\n'
10+
' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %>\n */'
1111
},
1212
jshint: {
1313
options: {
@@ -41,18 +41,22 @@ module.exports = function (grunt) {
4141
},
4242
uglify: {
4343
options: {
44-
banner: '<%= meta.banner %>',
44+
banner: '<%= meta.banner %>\n',
4545
compress: {
4646
drop_console: true
4747
}
4848
},
4949
dist: {
50+
options: {
51+
banner: '<%= meta.banner %>\n'
52+
+ '/*\n * ES6 Promises shim from when.js, Copyright (c) 2010-2014 Brian Cavalier, John Hann, MIT License\n */\n'
53+
},
5054
src: 'tmp/<%= pkg.name %>.js',
5155
dest: 'dist/<%= pkg.name %>.js'
5256
},
5357
traceur: {
5458
options: {
55-
banner: '/*\n Traceur Compiler 0.0.25 - https://github.com/google/traceur-compiler \n*/\n',
59+
banner: '/*\n * Traceur Compiler 0.0.25 - https://github.com/google/traceur-compiler \n */\n',
5660
compress: {
5761
drop_console: false
5862
}

0 commit comments

Comments
 (0)