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:
parent
48216cc7ec
commit
8ec9a5fbeb
14 changed files with 2372 additions and 150 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue