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

Set layout variables as props for passing as json

This commit is contained in:
Fred Chasen 2017-03-31 13:36:48 -04:00
parent a1ffc44efa
commit 9e18040c53
7 changed files with 49 additions and 14 deletions

View file

@ -735,8 +735,8 @@ class Contents {
this.css("background-color", "transparent");
}
mapPage(cfiBase, start, end) {
var mapping = new Mapping();
mapPage(cfiBase, layout, start, end, dev) {
var mapping = new Mapping(layout, dev);
return mapping.page(this, cfiBase, start, end);
}