1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-04 15:09:16 +02:00

Views -> Controllers, Moved previousLocationCfi logic to Reader, Bookmarks in Reader

This commit is contained in:
Fred Chasen 2014-01-02 20:32:51 -08:00
parent 3bfadb2abc
commit e4be17a428
24 changed files with 1363 additions and 1003 deletions

View file

@ -0,0 +1,14 @@
EPUBJS.reader.MetaController = function(meta) {
var title = meta.bookTitle,
author = meta.creator;
var $title = $("#book-title"),
$author = $("#chapter-title"),
$dash = $("#title-seperator");
document.title = title+" "+author;
$title.html(title);
$author.html(author);
$dash.show();
};