Fix typo in mithril.route.md

This commit is contained in:
eiriksm 2014-03-18 19:59:59 +01:00
parent 537e78ac91
commit 9027d4ac3a

View file

@ -165,7 +165,7 @@ where:
#### Usage #### Usage
You can programmatically redirec to another page. Given the example in the "Defining Routes" section: You can programmatically redirect to another page. Given the example in the "Defining Routes" section:
```javascript ```javascript
m.route("/dashboard/marysue"); m.route("/dashboard/marysue");
@ -222,4 +222,4 @@ void route(DOMElement element, Boolean isNew)
- **Boolean isInitialized** - **Boolean isInitialized**
the method does not run if this flag is set to true. This is to make the method compatible with virtual DOM elements' `config` attribute (see [`m()`](mithril)) the method does not run if this flag is set to true. This is to make the method compatible with virtual DOM elements' `config` attribute (see [`m()`](mithril))