1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

replaced zip.js with JSZip

This commit is contained in:
Fred Chasen 2014-12-05 16:11:58 -05:00
parent eca5ffbeff
commit cdbe2758bc
35 changed files with 9166 additions and 8257 deletions

View file

@ -1,10 +1,10 @@
module('EPUBJS.Unarchiver');
test("zip.workerScriptsPath is set correctly", 1, function() {
var Book = ePub("/reader/moby-dick.epub");
equal( zip.workerScriptsPath, EPUBJS.filePath, "zip workerScriptsPath is set from EPUBJS.filePath");
});
// test("zip.workerScriptsPath is set correctly", 1, function() {
// var Book = ePub("/reader/moby-dick.epub");
// equal( zip.workerScriptsPath, EPUBJS.filePath, "zip workerScriptsPath is set from EPUBJS.filePath");
// });
/*
asyncTest("openZip method returns a zip file object", 3, function(){
var unarchiver = new EPUBJS.Unarchiver(),
@ -36,6 +36,8 @@ asyncTest("getXml method returns valid xml", 1, function(){
});
});
*/
// TODO Tests for:
//
// Methods