Merge pull request #3 from eiriksm/patch-1

Fix typo in mithril.route.md
This commit is contained in:
Leo Horie 2014-03-20 12:50:35 -04:00
commit 8603c89f04

View file

@ -165,7 +165,7 @@ where:
#### 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
m.route("/dashboard/marysue");
@ -222,4 +222,4 @@ void route(DOMElement element, 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))