aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2013-09-18 23:44:56 -0700
committerChris Rebert <[email protected]>2013-09-18 23:44:56 -0700
commitabad169f4beff8f2ee1f49074eb2df82f477b5db (patch)
treec1f395efa91ca09f2a120e02ad9bfab1d9da20c2 /assets
parent5deee652f927a0eebfceeea7d0584819bea0f766 (diff)
parent0379c2056de96a9b17099d20d5e72228d9eef7bd (diff)
downloadbootstrap-abad169f4beff8f2ee1f49074eb2df82f477b5db.tar.xz
bootstrap-abad169f4beff8f2ee1f49074eb2df82f477b5db.zip
Merge pull request #10710 from XhmikosR/patch-2
Patch 2
Diffstat (limited to 'assets')
-rw-r--r--assets/js/jszip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/js/jszip.js b/assets/js/jszip.js
index 037818903..4be4e6a40 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: