From bdcfbde8e05f299aac73c5a1bc6216a4f896e03c Mon Sep 17 00:00:00 2001 From: Leo Horie Date: Sun, 25 May 2014 23:52:46 -0400 Subject: [PATCH] document new argument in m.route(path) --- docs/change-log.md | 2 ++ docs/layout/api.html | 2 +- docs/mithril.route.md | 6 +++++- mithril.d.ts | 14 +++++++------- mithril.js | 7 ++++--- 5 files changed, 19 insertions(+), 12 deletions(-) diff --git a/docs/change-log.md b/docs/change-log.md index da562a81..bdbd2866 100644 --- a/docs/change-log.md +++ b/docs/change-log.md @@ -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: diff --git a/docs/layout/api.html b/docs/layout/api.html index 5be15b26..c74da60e 100644 --- a/docs/layout/api.html +++ b/docs/layout/api.html @@ -37,7 +37,7 @@
  • m.route