mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
New queue function passes along promises with goto eventss
This commit is contained in:
parent
b6ee097965
commit
02a9a4b566
15 changed files with 894 additions and 362 deletions
|
@ -10,7 +10,7 @@ asyncTest("renderTo element on page", 1, function() {
|
|||
start();
|
||||
};
|
||||
|
||||
render.then(result, result);
|
||||
render.then(result).catch(result);
|
||||
|
||||
});
|
||||
|
||||
|
@ -177,8 +177,6 @@ asyncTest("Add styles to book", 4, function() {
|
|||
var $iframe = $( "iframe", "#qunit-fixture" ),
|
||||
$body;
|
||||
|
||||
console.log(Book)
|
||||
|
||||
equal( Book.renderer.render.bodyEl.style.background, '', "background not set");
|
||||
|
||||
Book.setStyle("background", "purple");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue