MCPcopy Create free account
hub / github.com/curran/screencasts / switchRouteMatcher

Function switchRouteMatcher

bower_components/angular-route/angular-route.js:461–480  ·  view source on GitHub ↗

* @param on {string} current url * @param route {Object} route regexp to match the url against * @return {?Object} * * @description * Check if the route matches the current url. * * Inspired by match in * visionmedia/express/lib/router/router.js.

(on, route)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parseRouteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected