Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"use strict";

module.exports = function(grunt) {
var version = require("./package.json").version;

grunt.initConfig({
browserify: {
all: {
Expand All @@ -21,15 +19,15 @@ module.exports = function(grunt) {
},
builtins: false
},
banner: grunt.file.read("lib/license_header.js").replace(/__VERSION__/, version)
banner: grunt.file.read("lib/license_header.js")
}
}
},
uglify: {
options: {
mangle: true,
preserveComments: false,
banner: grunt.file.read("lib/license_header.js").replace(/__VERSION__/, version)
banner: grunt.file.read("lib/license_header.js")
},
all: {
src: "dist/jszip.js",
Expand Down
6 changes: 3 additions & 3 deletions lib/license_header.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!

JSZip v__VERSION__ - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
JSZip - JavaScript class for generating and reading zip files
Original by Stuart Knightley <https://stuartk.com/jszip>
This version is the TurboWarp fork <https://github.com/TurboWarp/jszip>

(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
Expand Down