PlayerLauncher Module
Module: Player
I am the PlayerLauncher. I am the entry point to the application and i am called from index.html with
$(document).ready( function() {
FrameTrail.start('PlayerLauncher', {
// initial global state
});
} );
I initialize all main modules, and then start their init process in the right order. When I am finished, the Application is either up and running, or displays a meaningful error message, why loading has failed. I am a "one-pass" module, this is: I don't export any public methods or properties, and my sole purpose is to start other modules, after which I am discarded.