Commit 1e1c87a1 authored by Oleg Korshul's avatar Oleg Korshul

jszip native realize

parent 0e286e05
......@@ -167,7 +167,7 @@
return new Promise(function(resolve, reject) {
var retFiles = null;
if (options["base64"] === true)
if (options && options["base64"] === true)
retFiles = window["native"]["ZipOpenBase64"](data);
else
retFiles = window["native"]["ZipOpen"](data);
......
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