build/web/c0.js
function findMatch(routes, path) {
      var pathname = PathUtils.withoutQuery(path);
      var query = PathUtils.extractQuery(path);
      var match = null;

      for (var i = 0, len = routes.length; match == null && i < len; ++i) match = deepSearch(routes[i], pathname, query);

      return match;
    }
function findMatch(routes, path) {
      var pathname = PathUtils.withoutQuery(path);
      var query = PathUtils.extractQuery(path);
      var match = null;

      for (var i = 0, len = routes.length; match == null && i < len; ++i) match = deepSearch(routes[i], pathname, query);

      return match;
    }
function findMatch ( routes , path ) { var pathname = PathUtils . withoutQuery ( path ) ; var query = PathUtils . extractQuery ( path ) ; var match = null ; for ( var i = 0 , len = routes . length ; match == null && i < len ; ++ i ) match = deepSearch ( routes [ i ] , pathname , query ) ; return match ; }
Attempts to match depth-first a route in the given route's
subtree against the given path and returns the match if it
succeeds, null if no match can be made.
Attempts to match depth - first a route in the given route s subtree against the given path and returns the match if it succeeds null if no match can be made .