examples/map/js/backbone.marionette.js
function(name){
      var config = this._wreqrHandlers[name];

      if (!config){
        throw new Error("Handler not found for '" + name + "'");
      }

      return function(){
        var args = Array.prototype.slice.apply(arguments);
        return config.callback.apply(config.context, args);
      };
    }
function(name){
      var config = this._wreqrHandlers[name];

      if (!config){
        throw new Error("Handler not found for '" + name + "'");
      }

      return function(){
        var args = Array.prototype.slice.apply(arguments);
        return config.callback.apply(config.context, args);
      };
    }
function ( name ) { var config = this . _wreqrHandlers [ name ] ; if ( ! config ) { throw new Error ( "Handler not found for '" + name + "'" ) ; } return function ( ) { var args = Array . prototype . slice . apply ( arguments ) ; return config . callback . apply ( config . context , args ) ; } ; }
Get the currently registered handler for the specified name. Throws an exception if no handler is found.
Get the currently registered handler for the specified name . Throws an exception if no handler is found .