Reveal.configure() now works pre-initialization
This commit is contained in:
		
							parent
							
								
									5e4c5c33a9
								
							
						
					
					
						commit
						eb026f79b4
					
				
					 5 changed files with 18 additions and 6 deletions
				
			
		|  | @ -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' ); | ||||
| 				}); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue