examples/map/js/backbone.marionette.js
function(options){
    // Prevent re-starting a module that is already started
    if (this._isInitialized){ return; }

    // start the sub-modules (depth-first hierarchy)
    _.each(this.submodules, function(mod){
      // check to see if we should start the sub-module with this parent
      if (mod.startWithParent){
        mod.start(options);
      }
    });

    // run the callbacks to "start" the current module
    this.triggerMethod("before:start", options);

    this._initializerCallbacks.run(options, this);
    this._isInitialized = true;

    this.triggerMethod("start", options);
  }
function(options){
    // Prevent re-starting a module that is already started
    if (this._isInitialized){ return; }

    // start the sub-modules (depth-first hierarchy)
    _.each(this.submodules, function(mod){
      // check to see if we should start the sub-module with this parent
      if (mod.startWithParent){
        mod.start(options);
      }
    });

    // run the callbacks to "start" the current module
    this.triggerMethod("before:start", options);

    this._initializerCallbacks.run(options, this);
    this._isInitialized = true;

    this.triggerMethod("start", options);
  }
function ( options ) { // Prevent re-starting a module that is already started if ( this . _isInitialized ) { return ; } // start the sub-modules (depth-first hierarchy) _ . each ( this . submodules , function ( mod ) { // check to see if we should start the sub-module with this parent if ( mod . startWithParent ) { mod . start ( options ) ; } } ) ; // run the callbacks to "start" the current module this . triggerMethod ( "before:start" , options ) ; this . _initializerCallbacks . run ( options , this ) ; this . _isInitialized = true ; this . triggerMethod ( "start" , options ) ; }
Start the module, and run all of its initializers
Start the module and run all of its initializers