mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Added ePub() function, book.destroy, moved reader dev to demo folder
This commit is contained in:
parent
53955612ca
commit
660d570c02
28 changed files with 236 additions and 90 deletions
|
@ -4,9 +4,11 @@ EPUBJS.Hooks.register("beforeChapterDisplay").endnotes = function(callback, chap
|
|||
items = Array.prototype.slice.call(notes), //[].slice.call()
|
||||
attr = "epub:type",
|
||||
type = "noteref",
|
||||
folder = EPUBJS.core.folder(location.pathname),
|
||||
cssPath = folder + EPUBJS.cssPath || folder,
|
||||
popups = {};
|
||||
|
||||
EPUBJS.core.addCss("../demo/css/popup.css", false, chapter.doc.head);
|
||||
EPUBJS.core.addCss(cssPath + "popup.css", false, chapter.doc.head);
|
||||
|
||||
|
||||
items.forEach(function(item){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue