MCPcopy
hub / github.com/impress/impress.js / execPreInitPlugins

Function execPreInitPlugins

js/impress.js:873–882  ·  view source on GitHub ↗
( root )

Source from the content-addressed store, hash-verified

871
872 // Called at beginning of init, to execute all pre-init plugins.
873 var execPreInitPlugins = function( root ) { //jshint ignore:line
874 for ( var i = 0; i < preInitPlugins.length; i++ ) {
875 var thisLevel = preInitPlugins[ i ];
876 if ( thisLevel !== undefined ) {
877 for ( var j = 0; j < thisLevel.length; j++ ) {
878 thisLevel[ j ]( root, roots[ "impress-root-" + root.id ] );
879 }
880 }
881 }
882 };
883
884 // `addPreStepLeavePlugin` allows plugins to register a function that should
885 // be run (synchronously) at the beginning of goto()

Callers 1

initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected