diff --git a/examples/hypothesis.html b/examples/hypothesis.html index eb575cc..1e5d466 100755 --- a/examples/hypothesis.html +++ b/examples/hypothesis.html @@ -11,14 +11,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -200,14 +188,14 @@ Bookmark Settings Fullscreen -
+ Annotations
- +
- +
diff --git a/hooks/extensions/hypothesis.js b/hooks/extensions/hypothesis.js index 1c09c77..60674e9 100644 --- a/hooks/extensions/hypothesis.js +++ b/hooks/extensions/hypothesis.js @@ -1,13 +1,3 @@ -// EPUBJS.Hooks.register("beforeChapterDisplay").hypothesis = function(callback, chapter){ -// -// -// EPUBJS.core.addScript("https://hypothes.is/app/embed.js", null, chapter.doc.head); -// -// if(callback) callback(); -// -// } -// -// EPUBJS.Hooks.register("beforeChapterDisplay").hypothesis = function(callback, renderer){ var folder = EPUBJS.core.folder(location.pathname); var cssPath = (folder + EPUBJS.cssPath) || folder;