1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

Updated URL parsing to handle remote book paths

This commit is contained in:
Fred Chasen 2014-07-23 17:02:22 -04:00
parent b6b48e0b08
commit fe8edc77c1
3 changed files with 34 additions and 9 deletions

View file

@ -79,7 +79,7 @@
var currentSection;
var currentSectionIndex = 7;
var book = ePub("../books/moby-dick/OPS/package.opf");
var book = ePub("https://s3.amazonaws.com/moby-dick/OPS/package.opf");
book.loaded.navigation.then(function(nav){
var toc = nav.get();
var $select = document.getElementById("toc"),