mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
pass is base64 to jszip
This commit is contained in:
parent
b4e17413be
commit
93a296e484
3 changed files with 5 additions and 5 deletions
4
dist/epub.js
vendored
4
dist/epub.js
vendored
|
@ -6571,9 +6571,9 @@ Book.prototype.setRequestHeaders = function(_headers) {
|
||||||
this.requestHeaders = _headers;
|
this.requestHeaders = _headers;
|
||||||
};
|
};
|
||||||
|
|
||||||
Book.prototype.unarchive = function(bookUrl){
|
Book.prototype.unarchive = function(bookUrl, isBase64){
|
||||||
this.archive = new Unarchive();
|
this.archive = new Unarchive();
|
||||||
return this.archive.open(bookUrl);
|
return this.archive.open(bookUrl, isBase64);
|
||||||
};
|
};
|
||||||
|
|
||||||
//-- Checks if url has a .epub or .zip extension, or is ArrayBuffer (of zip/epub)
|
//-- Checks if url has a .epub or .zip extension, or is ArrayBuffer (of zip/epub)
|
||||||
|
|
2
dist/epub.js.map
vendored
2
dist/epub.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -255,9 +255,9 @@ Book.prototype.setRequestHeaders = function(_headers) {
|
||||||
this.requestHeaders = _headers;
|
this.requestHeaders = _headers;
|
||||||
};
|
};
|
||||||
|
|
||||||
Book.prototype.unarchive = function(bookUrl){
|
Book.prototype.unarchive = function(bookUrl, isBase64){
|
||||||
this.archive = new Unarchive();
|
this.archive = new Unarchive();
|
||||||
return this.archive.open(bookUrl);
|
return this.archive.open(bookUrl, isBase64);
|
||||||
};
|
};
|
||||||
|
|
||||||
//-- Checks if url has a .epub or .zip extension, or is ArrayBuffer (of zip/epub)
|
//-- Checks if url has a .epub or .zip extension, or is ArrayBuffer (of zip/epub)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue