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

Add RTL support

This commit is contained in:
Fred Chasen 2017-10-16 17:24:45 -07:00
parent 8999feb613
commit 9b6e864ae4
10 changed files with 380 additions and 111 deletions

View file

@ -9,7 +9,7 @@ class Navigation {
this.toc = [];
this.tocByHref = {};
this.tocById = {};
this.length = 0;
if (xml) {
this.parse(xml);
}
@ -54,6 +54,7 @@ class Navigation {
this.tocById[item.id] = i;
}
this.length = toc.length;
}
/**