]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update jszip.js to the latest git. 10710/head
authorXhmikosR <xhmikosr@users.sourceforge.net>
Wed, 18 Sep 2013 17:00:45 +0000 (20:00 +0300)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Thu, 19 Sep 2013 06:27:09 +0000 (09:27 +0300)
assets/js/jszip.js

index 037818903841eac934f3b339b9f22e92f8a1be11..4be4e6a40ab007f046a317c4431cfebf6f91cd6f 100644 (file)
@@ -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: