website/reveal/js/reveal.js
/**
	 * Syncs the presentation with the current DOM. Useful
	 * when new slides or control elements are added or when
	 * the configuration has changed.
	 */
Syncs the presentation with the current DOM. Useful
when new slides or control elements are added or when
the configuration has changed.
Syncs the presentation with the current DOM . Useful when new slides or control elements are added or when the configuration has changed .
function sync() {
		removeEventListeners();
		addEventListeners();
		layout();
		autoSlide = config.autoSlide;
		cueAutoSlide();
		createBackgrounds();
		sortAllFragments();
		updateControls();
		updateProgress();
		updateBackground( true );
		updateSlideNumber();
	}
function sync ( ) { removeEventListeners ( ) ; addEventListeners ( ) ; layout ( ) ; autoSlide = config . autoSlide ; cueAutoSlide ( ) ; createBackgrounds ( ) ; sortAllFragments ( ) ; updateControls ( ) ; updateProgress ( ) ; updateBackground ( true ) ; updateSlideNumber ( ) ; }
Syncs the presentation with the current DOM.
Syncs the presentation with the current DOM .
// Subscribe to input // Force a layout to make sure the current config is accounted for // Reflect the current autoSlide value // Start auto-sliding if it's enabled // Re-create the slide backgrounds