Commit 0379c205 authored by XhmikosR's avatar XhmikosR

Update jszip.js to the latest git.

parent b7416089
......@@ -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:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment