From: XhmikosR Date: Wed, 18 Sep 2013 17:00:45 +0000 (+0300) Subject: Update jszip.js to the latest git. X-Git-Tag: v3.0.1~37^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10710%2Fhead;p=thirdparty%2Fbootstrap.git Update jszip.js to the latest git. --- 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: