|
42 | 42 | /** |
43 | 43 | The ordered list of the names of the params |
44 | 44 | required for this route. It will contain the same |
45 | | - strings as Object.keys(params), but here the order |
| 45 | + strings as `Object.keys(params)`, but here the order |
46 | 46 | is significant. This allows users to correctly pass |
47 | 47 | params into routes programmatically. |
48 | 48 | @property {Array} paramNames |
|
153 | 153 | */ |
154 | 154 |
|
155 | 155 | /** |
156 | | - The values of the route's parametes. These are the |
| 156 | + The values of the route's parameters. These are the |
157 | 157 | same params that are received as arguments to the |
158 | | - route's model hook. Contains only the parameters |
| 158 | + route's `model` hook. Contains only the parameters |
159 | 159 | valid for this route, if any (params for parent or |
160 | 160 | child routes are not merged). |
161 | 161 | @property {Object} params |
|
182 | 182 | */ |
183 | 183 |
|
184 | 184 | /** |
185 | | - A reference to the parent route's RouteInfo. |
| 185 | + A reference to the parent route's `RouteInfo`. |
186 | 186 | This can be used to traverse upward to the topmost |
187 | 187 | `RouteInfo`. |
188 | 188 | @property {RouteInfo|null} parent |
|
191 | 191 | */ |
192 | 192 |
|
193 | 193 | /** |
194 | | - A reference to the child route's RouteInfo. |
| 194 | + A reference to the child route's `RouteInfo`. |
195 | 195 | This can be used to traverse downward to the |
196 | 196 | leafmost `RouteInfo`. |
197 | 197 | @property {RouteInfo|null} child |
|
202 | 202 | of `RouteInfo`s from the topmost to leafmost. |
203 | 203 | Returns the first `RouteInfo` in the linked list |
204 | 204 | for which the callback returns true. |
| 205 | +*/ |
205 | 206 |
|
| 207 | +/** |
206 | 208 | This method is similar to the `find()` method |
207 | 209 | defined in ECMAScript 2015. |
208 | 210 |
|
|
0 commit comments