1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Check if view is rendering before displaying, proper check promises

This commit is contained in:
Fred Chasen 2015-05-29 15:45:03 -04:00
parent 6785addc75
commit 812be32e71
8 changed files with 106 additions and 72 deletions

View file

@ -218,7 +218,6 @@ EPUBJS.Rendition.prototype.render = function(view) {
.then(function(view){
// this.map = new EPUBJS.Map(view, this.layout);
this.trigger("rendered", view.section);
}.bind(this))