diff options
author | Andrew Dolgov <[email protected]> | 2021-09-17 21:53:37 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-09-17 21:53:37 +0300 |
commit | 4fd9b8f2b5a98bfcde57970b48fed2488a80f356 (patch) | |
tree | 51e0ce9cd61c24916b7d5820ee69e74bd3e76aac /lib/epub.js/test/old/rendering.js | |
parent | d0cd10f08286be33306336fe8c4cac26ea7ce637 (diff) |
add in master snapshot of epubjs
Diffstat (limited to 'lib/epub.js/test/old/rendering.js')
-rw-r--r-- | lib/epub.js/test/old/rendering.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/epub.js/test/old/rendering.js b/lib/epub.js/test/old/rendering.js new file mode 100644 index 0000000..5cf1357 --- /dev/null +++ b/lib/epub.js/test/old/rendering.js @@ -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(); + }); + + +}); +*/ |