| OLD | NEW |
| 1 | 1 MoreRouting.ContextAware = { |
| 2 | 2 |
| 3 MoreRouting.ContextAware = { | |
| 4 | |
| 5 /** @override */ | 3 /** @override */ |
| 6 ready: function() { | 4 ready: function() { |
| 7 this._makeRoutingReady(); | 5 this._makeRoutingReady(); |
| 8 }, | 6 }, |
| 9 | 7 |
| 10 /** | 8 /** |
| 11 * Calls `routingReady`, and ensures that it is called in a top-down manner. | 9 * Calls `routingReady`, and ensures that it is called in a top-down manner. |
| 12 * | 10 * |
| 13 * We need to be sure that parent nodes have `routingReady` triggered before | 11 * We need to be sure that parent nodes have `routingReady` triggered before |
| 14 * their children so that they can properly configure nested routes. | 12 * their children so that they can properly configure nested routes. |
| (...skipping 26 matching lines...) Expand all Loading... |
| 41 } | 39 } |
| 42 | 40 |
| 43 var route = node && node.moreRouteContext; | 41 var route = node && node.moreRouteContext; |
| 44 if (route instanceof MoreRouting.Route) { | 42 if (route instanceof MoreRouting.Route) { |
| 45 return route; | 43 return route; |
| 46 } | 44 } |
| 47 } | 45 } |
| 48 return null; | 46 return null; |
| 49 }, | 47 }, |
| 50 | 48 |
| 51 }; | 49 }; |
| 52 | |
| OLD | NEW |