From 5b046f949ca07614a7df2bf16708c36933627dd2 Mon Sep 17 00:00:00 2001 From: lingyan Date: Fri, 23 Jan 2015 21:47:29 -0800 Subject: [PATCH] formatting --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eab451f..5b7dac9 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,11 @@ Provides navigational React components (`NavLink`) and router mixin (`RouterMixin`) for applications built with [Flux](http://facebook.github.io/react/docs/flux-overview.html) architecture. Please check out [examples](https://github.com/yahoo/flux-router-component/tree/master/examples) of how to use these components. ## Context and Expected Context Methods + Before we explain how to use `NavLink` and `RouterMixin`, lets start with two methods they expect: -* executeAction(navigateAction, payload) - This executes navigate action, switches the app to the new route, and update the url. -* makePath(routeName, routeParams) - This is used to generate url for a given route. +* `executeAction(navigateAction, payload)` - This executes navigate action, switches the app to the new route, and update the url. +* `makePath(routeName, routeParams)` - This is used to generate url for a given route. These two methods need to be available in: