OLD | NEW |
1 | |
2 Polymer({ | 1 Polymer({ |
3 | 2 |
4 is: 'more-route-selector', | 3 is: 'more-route-selector', |
5 | 4 |
6 behaviors: [ | 5 behaviors: [ |
7 MoreRouting.ContextAware, | 6 MoreRouting.ContextAware, |
8 ], | 7 ], |
9 | 8 |
10 properties: { | 9 properties: { |
11 | 10 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 return null; | 160 return null; |
162 } | 161 } |
163 var expression = item.getAttribute(this.routeAttribute); | 162 var expression = item.getAttribute(this.routeAttribute); |
164 var route = MoreRouting.getRoute(expression, this.parentRoute); | 163 var route = MoreRouting.getRoute(expression, this.parentRoute); |
165 // Associate the route w/ its element while we're here. | 164 // Associate the route w/ its element while we're here. |
166 item.moreRouteContext = route; | 165 item.moreRouteContext = route; |
167 | 166 |
168 return route; | 167 return route; |
169 }, | 168 }, |
170 | 169 |
171 }); | 170 }); |
OLD | NEW |