Skip to content
Myr

Removed app.match()

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 34c0d25 · Browse files · 1 file+0 added−17 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−17 removed

  • other:+0 added−17 removed

1 file+0 added−17 removed

modified:lib/application.js-17 removed
51 unmodified lines
52 self.lookup[method] = function(path){53 return self._router.lookup(method, path);54 };5556 self.match[method] = function(path){57 return self._router.match(method, path);58 };5956 self.remove[method] = function(path){57 return self._router.lookup(method, path).remove();58 };59 });6061 // del -> delete62 self.lookup.del = self.lookup.delete;67 self.match.del = self.match.delete;63 self.remove.del = self.remove.delete;64};6566/**
75 unmodified lines
142 return this._router.lookup('all', path);143};144145/**151 * Lookup routes matching the given `url`.152 *153 * @param {Stirng} url154 * @return {Array}155 * @api public156 */157158app.match = function(url){159 return this._router.match('all', url);160};161162/**146 * Proxy `connect#use()` to apply settings to147 * mounted applications.148 *149 * @param {String|Function|Server} route
393 unmodified lines