From 5e604a8241ecd25ee7768215071a65cd30133829 Mon Sep 17 00:00:00 2001 From: jethroscott Date: Wed, 24 Aug 2016 15:25:12 -0700 Subject: [PATCH 1/2] fix typo in RouteResolver description --- docs/route.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/route.md b/docs/route.md index acc3b427..4931c07c 100644 --- a/docs/route.md +++ b/docs/route.md @@ -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, "/", { From 82258f606f0756c76515cda899cc209802a8b8fc Mon Sep 17 00:00:00 2001 From: Stefan Keim Date: Thu, 25 Aug 2016 08:50:18 +0200 Subject: [PATCH 2/2] Update lifecycle-methods.md --- docs/lifecycle-methods.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lifecycle-methods.md b/docs/lifecycle-methods.md index 74a839d8..278cb3c8 100644 --- a/docs/lifecycle-methods.md +++ b/docs/lifecycle-methods.md @@ -14,7 +14,7 @@ ### Usage -[Components](components.md) and [virtual DOM nodes](vnodes.md) and can have lifecycle methods, also known as *hooks*, which are called at various points during the lifetime of a DOM element. +[Components](components.md) and [virtual DOM nodes](vnodes.md) can have lifecycle methods, also known as *hooks*, which are called at various points during the lifetime of a DOM element. ```javascript // Sample hook in component