diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-09-18 21:00:45 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-09-19 10:27:09 +0400 |
commit | 0379c2056de96a9b17099d20d5e72228d9eef7bd (patch) | |
tree | c1f395efa91ca09f2a120e02ad9bfab1d9da20c2 /assets/js | |
parent | b741608964310cb6886474f3fac70ffc264189bb (diff) |
Update jszip.js to the latest git.
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/jszip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/jszip.js b/assets/js/jszip.js index 0378189038..4be4e6a40a 100644 --- a/assets/js/jszip.js +++ b/assets/js/jszip.js @@ -659,7 +659,7 @@ JSZip.prototype = (function () { if ( !this.files.hasOwnProperty(name) ) { continue; } var file = this.files[name]; - var compressionName = file.compression || options.compression.toUpperCase(); + var compressionName = file.options.compression || options.compression.toUpperCase(); var compression = JSZip.compressions[compressionName]; if (!compression) { throw new Error(compressionName + " is not a valid compression method !"); @@ -1422,4 +1422,4 @@ JSZip.base64 = (function() { }()); // enforcing Stuk's coding style -// vim: set shiftwidth=3 softtabstop=3:
\ No newline at end of file +// vim: set shiftwidth=3 softtabstop=3: |