diff --git a/fpjs/reader/app.js b/fpjs/reader/app.js index ce0778d..caa1acd 100644 --- a/fpjs/reader/app.js +++ b/fpjs/reader/app.js @@ -25,7 +25,6 @@ FPR.app.init = (function($){ } Book = new FP.Book("area"); - //Book = new FP.Book("area", "/the-hound-of-the-baskervilles/"); Book.listen("book:metadataReady", meta); Book.listen("book:tocReady", toc); @@ -33,7 +32,6 @@ FPR.app.init = (function($){ Book.listen("book:online", goOnline); Book.listen("book:offline", goOffline); - //Book.setFootnotes(["glossterm", "footnote"]);//["glossterm", "footnote"]); Book.start(bookURL + "/"); @@ -67,33 +65,6 @@ FPR.app.init = (function($){ $toc.append($items); - // contents.forEach(function(item){ - // $wrapper = $("
  • "); - // - // $item = $(""+item.label+""); - // - // - // $item.on("click", function(e){ - // $this = $(this); - // Book.displayChapter($this.data("spinepos")); - // e.preventDefault(); - // }); - // - // $wrapper.append($item); - // - // if(item.subitems && item.subitems.length){ - // $subitems = $("