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

fixes for react

This commit is contained in:
fchasen 2016-04-04 13:51:35 -04:00
parent 48216cc7ec
commit 8ec9a5fbeb
14 changed files with 2372 additions and 150 deletions

View file

@ -44,7 +44,7 @@ Contents.prototype.height = function(h) {
};
Contents.prototype.textWidth = function(w) {
Contents.prototype.textWidth = function() {
var width;
var range = this.document.createRange();
@ -57,7 +57,7 @@ Contents.prototype.textWidth = function(w) {
};
Contents.prototype.textHeight = function(h) {
Contents.prototype.textHeight = function() {
var height;
var range = this.document.createRange();