mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Allow location to use XMLDom, add locations tests
This commit is contained in:
parent
662a3e1079
commit
db798e7934
9 changed files with 254 additions and 100 deletions
16
test/old/rendering.js
Normal file
16
test/old/rendering.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
module('Rendering');
|
||||
/*
|
||||
asyncTest("Render To", 1, function() {
|
||||
|
||||
var book = ePub("../books/moby-dick/OPS/package.opf");
|
||||
var rendition = book.renderTo("qunit-fixture", {width:400, height:600});
|
||||
var displayed = rendition.display(0);
|
||||
|
||||
displayed.then(function(){
|
||||
equal( $( "iframe", "#qunit-fixture" ).length, 1, "iframe added successfully" );
|
||||
start();
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue