OLD | NEW |
1 | 1 |
2 (function(scope) { | 2 (function(scope) { |
3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; | 3 var MoreRouting = scope.MoreRouting = scope.MoreRouting || {}; |
4 MoreRouting.Driver = Driver; | 4 MoreRouting.Driver = Driver; |
5 | 5 |
6 /** | 6 /** |
7 * TODO(nevir): Docs. | 7 * TODO(nevir): Docs. |
8 */ | 8 */ |
9 function Driver(opt_config) { | 9 function Driver(opt_config) { |
10 var config = opt_config || {}; | 10 var config = opt_config || {}; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 route.processPathParts(parts); | 95 route.processPathParts(parts); |
96 if (route.active) { | 96 if (route.active) { |
97 routes.push(route); | 97 routes.push(route); |
98 routes = routes.concat(this._matchingRoutes(parts.slice(route.compiled.len
gth), route.children)); | 98 routes = routes.concat(this._matchingRoutes(parts.slice(route.compiled.len
gth), route.children)); |
99 } | 99 } |
100 } | 100 } |
101 return routes; | 101 return routes; |
102 } | 102 } |
103 | 103 |
104 })(window); | 104 })(window); |
OLD | NEW |