document new argument in m.route(path)

This commit is contained in:
Leo Horie 2014-05-25 23:52:46 -04:00
parent 2b8c82e365
commit bdcfbde8e0
5 changed files with 19 additions and 12 deletions

View file

@ -5,6 +5,8 @@
### News:
- The signature of `m` now accepts virtual elements as the second parameter of the function.
- `m.route(path, params)` now accepts an argument that gets parsed as a querystring.
- routes now ignore trailing slashes [#88](https://github.com/lhorie/mithril.js/issues/88)
### Bug Fixes: