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

re-organized files, new build script

This commit is contained in:
Fred Chasen 2013-06-04 22:56:02 -07:00
parent 5f7a5d2011
commit 7c42a434f2
245 changed files with 3702 additions and 114 deletions

View file

@ -0,0 +1,11 @@
EPUBJS.Hooks.register("beforeChapterDisplay").example = function(callback, chapter){
var s = document.createElement("script");
s.type = 'text/javascript';
s.src ="https://test.hypothes.is/app/embed.js"
chapter.doc.body.appendChild(s);
//-- Continue to other hooks
if(callback) callback();}