Reveal.configure() now works pre-initialization
This commit is contained in:
1 parent
5e4c5c33a9
commit
eb026f79b4
5 files changed
+18
-6
No files matched your search
@@ -81,6 +81,8 @@
|
||||
<script>
|
||||
window.location.hash = '';
|
||||
|
||||
Reveal.configure({maxScale: 1.11});
|
||||
|
||||
// These tests expect the DOM to contain a presentation
|
||||
// with the following slide structure:
|
||||
//
|
||||
@@ -113,6 +115,10 @@
|
||||
|
||||
QUnit.module( 'API' );
|
||||
|
||||
QUnit.test( 'Reveal.configure before initialization', function( assert ) {
|
||||
assert.strictEqual( Reveal.getConfig().maxScale, 1.11 );
|
||||
});
|
||||
|
||||
QUnit.test( 'Reveal.isReady', function( assert ) {
|
||||
assert.strictEqual( Reveal.isReady(), true, 'returns true' );
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user