Skip to content

Commit

Permalink
Fix global cfi var in locations
Browse files Browse the repository at this point in the history
  • Loading branch information
fchasen committed Dec 16, 2015
1 parent 32e2026 commit b809fe9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions build/epub.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/epub.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/epub.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/epub.min.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion reader/js/epub.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion reader/js/epub.min.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/locations.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ EPUBJS.Locations.prototype.process = function(chapter) {
var contents = doc.documentElement.querySelector("body");
var counter = 0;
var prev;
var cfi;

this.sprint(contents, function(node) {
var len = node.length;
Expand Down

0 comments on commit b809fe9

Please sign in to comment.