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

Added core Url and Path, split up book.open, added Container and Packaging

This commit is contained in:
Fred Chasen 2016-11-08 02:06:10 +01:00
parent 02725b1771
commit 47787678f7
24 changed files with 1774 additions and 1140 deletions

View file

@ -58,7 +58,6 @@ Section.prototype.base = function(_document){
var task = new core.defer();
var base = _document.createElement("base"); // TODO: check if exists
var head;
console.log(window.location.origin + "/" +this.url);
base.setAttribute("href", window.location.origin + "/" +this.url);
@ -113,7 +112,7 @@ Section.prototype.find = function(_query){
};
/**
/*
* Reconciles the current chapters layout properies with
* the global layout properities.
* Takes: global layout settings object, chapter properties string