Skip to content

Commit

Permalink
rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Gibbons committed Jan 24, 2019
1 parent 0991f77 commit 58ec57a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ DEPENDENCIES
tzinfo-data

RUBY VERSION
ruby 2.4.2p198
ruby 2.4.4p296

BUNDLED WITH
1.14.6
6 changes: 3 additions & 3 deletions docs/_docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ redirect_from: /docs/api.html
## API

<!-- BEGIN DOC-COMMENT H3 src/index.js -->
### `constructor(store, config =`
### `constructor(store, config)`

Creates a new router, given a reference to the redux store for action dispatch

Expand All @@ -16,7 +16,7 @@ Creates a new router, given a reference to the redux store for action dispatch
**Parameters:**

* `store` — object — Your redux store.
* `config` — object — Additional configuration parameters.
* `config` — object — (Optional) Additional configuration parameters.

### `route(pathOrPaths, handler)`

Expand All @@ -33,7 +33,7 @@ Registers a new route.
* `pathOrPaths` — string — (Optionally an array of strings)
* `handler` — string — A handler that takes the params matched in the URL

### `navigate(path, handler = () =>`
### `navigate(path, handler)`

Searches for a matching path, and if it finds one, runs the associated handlers.

Expand Down

0 comments on commit 58ec57a

Please sign in to comment.