mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
expanded readme
This commit is contained in:
parent
b1f8c216d8
commit
716ff57d18
2 changed files with 35 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
FP.Hooks.register("beforeChapterDisplay").transculsions = function(callback, chapter){
|
||||
|
||||
var trans = chapter.doc.querySelectorAll('[transclusion]'),
|
||||
items = Array.prototype.slice.call(trans);;
|
||||
items = Array.prototype.slice.call(trans);
|
||||
|
||||
items.forEach(function(item){
|
||||
var src = item.getAttribute("ref"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue