sheet-router
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "sheet-router", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Fast, modular client router", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -170,6 +170,5 @@ # sheet-router [![stability][0]][1] | ||
### history(router, cb(href)?) | ||
Register the router to handle html5 pushsState history and listen to `<a | ||
href="">` clicks. Calls an optional callback with the new href which can be | ||
used to update application state. | ||
### history(cb(href)) | ||
Call a callback to handle html5 pushsState history and handle `<a href="">` | ||
clicks. | ||
@@ -176,0 +175,0 @@ ## See Also |
10231
198