mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +01:00
Update jszip.js to the latest git.
This commit is contained in:
parent
b741608964
commit
0379c2056d
@ -659,7 +659,7 @@ JSZip.prototype = (function () {
|
|||||||
if ( !this.files.hasOwnProperty(name) ) { continue; }
|
if ( !this.files.hasOwnProperty(name) ) { continue; }
|
||||||
var file = this.files[name];
|
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];
|
var compression = JSZip.compressions[compressionName];
|
||||||
if (!compression) {
|
if (!compression) {
|
||||||
throw new Error(compressionName + " is not a valid compression method !");
|
throw new Error(compressionName + " is not a valid compression method !");
|
||||||
@ -1422,4 +1422,4 @@ JSZip.base64 = (function() {
|
|||||||
}());
|
}());
|
||||||
|
|
||||||
// enforcing Stuk's coding style
|
// enforcing Stuk's coding style
|
||||||
// vim: set shiftwidth=3 softtabstop=3:
|
// vim: set shiftwidth=3 softtabstop=3:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user