Skip to content

Commit d126157

Browse files
committed
Fix missing comma in EpubCFI.generateChapterComponent
1 parent 53a53d8 commit d126157

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

build/epub.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/epub.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "epubjs",
3-
"version": "0.2.18",
3+
"version": "0.2.19",
44
"repository": "https://github.com/futurepress/epub.js",
55
"description": "Render ePub documents in the browser, across many devices",
66
"main": "server.js",

reader/js/epub.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
var EPUBJS = EPUBJS || {};
4-
EPUBJS.VERSION = "0.2.18";
4+
EPUBJS.VERSION = "0.2.19";
55

66
EPUBJS.plugins = EPUBJS.plugins || {};
77

src/epubcfi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ EPUBJS.EpubCFI = function(cfiStr){
44

55
EPUBJS.EpubCFI.prototype.generateChapterComponent = function(_spineNodeIndex, _pos, id) {
66
var pos = parseInt(_pos),
7-
spineNodeIndex = (_spineNodeIndex + 1) * 2
7+
spineNodeIndex = (_spineNodeIndex + 1) * 2,
88
cfi = '/'+spineNodeIndex+'/';
99

1010
cfi += (pos + 1) * 2;

0 commit comments

Comments
 (0)