diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-12-21 17:54:21 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-12-21 17:54:21 +0100 |
commit | a97d73167d4dc52738e01f5ca5f2de74902276b6 (patch) | |
tree | a89003aeb72003818b2caacc10d509c7b95d8be6 /test | |
parent | ed4cdaf9e796fadbf2b4f2f5e9240ac56091fb73 (diff) | |
download | perl-software-in-gnu-guix-a97d73167d4dc52738e01f5ca5f2de74902276b6.tar perl-software-in-gnu-guix-a97d73167d4dc52738e01f5ca5f2de74902276b6.tar.gz |
simplify how data-autoslide is picked up from fragments #766
Diffstat (limited to 'test')
-rw-r--r-- | test/test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test.js b/test/test.js index 93a4ae2..23c0aff 100644 --- a/test/test.js +++ b/test/test.js @@ -63,6 +63,10 @@ Reveal.addEventListener( 'ready', function() { Reveal.configure({ autoSlide: 10000 }); strictEqual( Reveal.isAutoSliding(), true, 'true after starting' ); + Reveal.toggleAutoSlide(); + strictEqual( Reveal.isAutoSliding(), false, 'false after toggling' ); + Reveal.toggleAutoSlide(); + Reveal.configure({ autoSlide: 0 }); strictEqual( Reveal.isAutoSliding(), false, 'false after setting to 0' ); }); |