Skip to content

Commit 45a30b4

Browse files
committed
added versioning at the top of JS files
1 parent 5bc1896 commit 45a30b4

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

Gruntfile.js

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,21 @@ module.exports = function(grunt) {
99
files: [
1010
'package.json',
1111
'bower.json',
12-
'readme.md'
12+
'readme.md',
13+
'example/js/directives/angular-pdf.js',
14+
'dist/angular-pdf.js',
15+
'dist/angular-pdf.min.js'
1316
],
1417
updateConfigs: [],
1518
commit: true,
1619
commitMessage: 'Release v%VERSION%',
1720
commitFiles: [
1821
'package.json',
1922
'bower.json',
20-
'readme.md'
23+
'readme.md',
24+
'example/js/directives/angular-pdf.js',
25+
'dist/angular-pdf.js',
26+
'dist/angular-pdf.min.js'
2127
],
2228
createTag: true,
2329
tagName: '%VERSION%',
@@ -73,7 +79,8 @@ module.exports = function(grunt) {
7379
options: {
7480
mangle: false,
7581
compress: true,
76-
beautify: false
82+
beautify: false,
83+
preserveComments: 'all'
7784
},
7885
files: {
7986
'dist/angular-pdf.min.js': ['dist/angular-pdf.js']

dist/angular-pdf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*! Angular-PDF v0.2.3 | (C) Sayanee Basu 2014, released under an MIT license */
12
(function () {
23

34
'use strict';

dist/angular-pdf.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/js/directives/angular-pdf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*! Angular-PDF v0.2.3 | (C) Sayanee Basu 2014, released under an MIT license */
12
(function () {
23

34
'use strict';

0 commit comments

Comments
 (0)