Reveal.add/remveEventListener -> Reveal.on/off
This commit is contained in:
parent
f24620018f
commit
855cc82d76
17 changed files with 113 additions and 91 deletions
|
@ -80,7 +80,7 @@
|
|||
|
||||
assert.strictEqual( initCounter['PluginC'], 0, 'async plugin not immediately initialized' );
|
||||
|
||||
reveal.addEventListener( 'ready', function() {
|
||||
reveal.on( 'ready', function() {
|
||||
assert.strictEqual( initCounter['PluginC'], 1, 'finsihed initializing when reveal.js dispatches "ready"' );
|
||||
done();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue