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

Version Path
reveal-ck-3.8.1 files/reveal.js/test/test-markdown-external.js
jekyll-theme-slides-0.1.3 assets/reveal.js/test/test-markdown-external.js
jekyll-theme-slides-0.1.2 assets/reveal.js/test/test-markdown-external.js
jekyll-theme-newtype-0.1.4 assets/revealjs/test/test-markdown-external.js
jekyll-theme-newtype-0.1.3 assets/revealjs/test/test-markdown-external.js
jekyll-theme-newtype-0.1.2 assets/revealjs/test/test-markdown-external.js
jekyll-theme-newtype-0.1.1 assets/revealjs/test/test-markdown-external.js
jekyll-theme-newtype-0.1.0 assets/revealjs/test/test-markdown-external.js
reveal-ck-3.8.0 files/reveal.js/test/test-markdown-external.js
starterlog-theme-1.2.0 assets/modules/reveal.js/test/test-markdown-external.js
reveal-ck-3.7.0 files/reveal.js/test/test-markdown-external.js