index.js
function load(method, config) {
  return function(patterns, options) {
    var opts = mergeOptions(this, config, options);
    var loader = createLoader(opts, this[method]);
    return loader.apply(this, arguments);
  };
}
function load(method, config) {
  return function(patterns, options) {
    var opts = mergeOptions(this, config, options);
    var loader = createLoader(opts, this[method]);
    return loader.apply(this, arguments);
  };
}
function load ( method , config ) { return function ( patterns , options ) { var opts = mergeOptions ( this , config , options ) ; var loader = createLoader ( opts , this [ method ] ) ; return loader . apply ( this , arguments ) ; } ; }
Create a function for loading views using the given
`method` on the collection or app.
Create a function for loading views using the given method on the collection or app .