fix typo in RouteResolver description

This commit is contained in:
jethroscott 2016-08-24 15:25:12 -07:00 committed by GitHub
parent a1a087c4be
commit 5e604a8241

View file

@ -266,7 +266,7 @@ m.route.prefix("/my-app")
### Advanced component resolution
Instead of mapping a component to a route, you can specify a RouteResolver object. A RouteResolver object contains a `onmatch()` method and a optionally a `view()` method.
Instead of mapping a component to a route, you can specify a RouteResolver object. A RouteResolver object contains a `onmatch()` method and a optionally a `render()` method.
```javascript
m.route(document.body, "/", {