Sha256: 6afd4ec65f2fe7b72d741251c69bbd69e71c3fba0ad5cfe2b3b05c381bb3906e
Contents?: true
Size: 678 Bytes
Versions: 11
Compression:
Stored size: 678 Bytes
Contents
Reveal.addEventListener( 'ready', function() { QUnit.module( 'Markdown' ); test( 'Vertical separator', function() { strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' ); }); test( 'Horizontal separator', function() { strictEqual( document.querySelectorAll( '.reveal .slides>section' ).length, 2, 'found two slides' ); }); test( 'Language highlighter', function() { strictEqual( document.querySelectorAll( '.hljs-keyword' ).length, 1, 'got rendered highlight tag.' ); strictEqual( document.querySelector( '.hljs-keyword' ).innerHTML, 'var', 'the same keyword: var.' ); }); } ); Reveal.initialize();
Version data entries
11 entries across 11 versions & 4 rubygems