website/reveal/js/reveal.js
/**
	 * Starts up the presentation if the client is capable.
	 */
Starts up the presentation if the client is capable.
Starts up the presentation if the client is capable .
function initialize( options ) {
		checkCapabilities();
		if( !features.transforms2d && !features.transforms3d ) {
			document.body.setAttribute( 'class', 'no-transforms' );
			return;
		}
		window.addEventListener( 'load', layout, false );
		var query = Reveal.getQueryHash();
		if( typeof query['dependencies'] !== 'undefined' ) delete query['dependencies'];
		extend( config, options );
		extend( config, query );
		hideAddressBar();
		load();
	}
function initialize ( options ) { checkCapabilities ( ) ; if ( ! features . transforms2d && ! features . transforms3d ) { document . body . setAttribute ( 'class' , 'no-transforms' ) ; return ; } window . addEventListener ( 'load' , layout , false ) ; var query = Reveal . getQueryHash ( ) ; if ( typeof query [ 'dependencies' ] !== 'undefined' ) delete query [ 'dependencies' ] ; extend ( config , options ) ; extend ( config , query ) ; hideAddressBar ( ) ; load ( ) ; }
Starts up the presentation if the client is capable.
Starts up the presentation if the client is capable .
// If the browser doesn't support core features we won't be // using JavaScript to control the presentation // Force a layout when the whole page, incl fonts, has loaded // Do not accept new dependencies via query config to avoid // the potential of malicious script injection // Copy options over to our config object // Hide the address bar in mobile browsers // Loads the dependencies and continues to #start() once done