MCPcopy Create free account
hub / github.com/Anomen/AuthenticationAngularJS / switchRouteMatcher

Function switchRouteMatcher

public/javascripts/angular-route.js:523–542  ·  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.85

Calls

no outgoing calls

Tested by

no test coverage detected