mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
Merge branch 'master' of github.com:futurepress/epub.js
This commit is contained in:
commit
8a3f72853d
2 changed files with 4 additions and 3 deletions
|
@ -3080,12 +3080,12 @@ EPUBJS.Book.prototype.prevPage = function() {
|
|||
|
||||
EPUBJS.Book.prototype.nextChapter = function() {
|
||||
var next;
|
||||
if (this.spinePos < this.spine.length - 1) {
|
||||
if (this.spinePos < this.spine.length ) {
|
||||
next = this.spinePos + 1;
|
||||
while (this.spine[next] && this.spine[next].linear && this.spine[next].linear == 'no') {
|
||||
next++;
|
||||
}
|
||||
if (next < this.spine.length - 1) {
|
||||
if (next < this.spine.length ) {
|
||||
return this.displayChapter(next);
|
||||
} else {
|
||||
this.trigger("book:atEnd");
|
||||
|
@ -7401,4 +7401,4 @@ EPUBJS.Unarchiver.prototype.saveEntryFileToStorage = function(entry, callback){
|
|||
});
|
||||
};
|
||||
|
||||
//# sourceMappingURL=epub.js.map
|
||||
//# sourceMappingURL=epub.js.map
|
||||
|
|
1
server.js
Normal file → Executable file
1
server.js
Normal file → Executable file
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env node
|
||||
var connect = require('connect'),
|
||||
colors = require('colors'),
|
||||
argv = require('optimist').argv,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue