function(moduleNames, moduleDefinition) {
  
      // Overwrite the module class if the user specifies one
      var ModuleClass = Marionette.Module.getClass(moduleDefinition);
  
      var args = _.toArray(arguments);
      args.unshift(this);
  
      // see the Marionette.Module object for more information
      return ModuleClass.create.apply(ModuleClass, args);
    }
function(moduleNames, moduleDefinition) {
  
      // Overwrite the module class if the user specifies one
      var ModuleClass = Marionette.Module.getClass(moduleDefinition);
  
      var args = _.toArray(arguments);
      args.unshift(this);
  
      // see the Marionette.Module object for more information
      return ModuleClass.create.apply(ModuleClass, args);
    }
function ( moduleNames , moduleDefinition ) { // Overwrite the module class if the user specifies one var ModuleClass = Marionette . Module . getClass ( moduleDefinition ) ; var args = _ . toArray ( arguments ) ; args . unshift ( this ) ; // see the Marionette.Module object for more information return ModuleClass . create . apply ( ModuleClass , args ) ; }
Create a module, attached to the application
Create a module attached to the application