Simrou icon indicating copy to clipboard operation
Simrou copied to clipboard

A very tiny hash-based JavaScript routing system.

Results 4 Simrou issues
Sort by recently updated
recently updated
newest added

as far as I can tell, the only way to do this is the following: `window.history.pushState({"page":url},"", url);` Any plans on creating a short cut for this one? :)

For put/post routes, give possibility to pass an object when using resolve method.

enhancement

Our application uses notFound callback to report error as main aim. Another helpful feature is if page not found try to resolve path externally, for instance load routes dynamically using...

enhancement

i have setup these to listen for post ``` route.addRoute('/search/:key') .post(function(e, param){ console.log('things') }) // try these methods below in here route.start() ``` - i've tried to just use action="#/search/"...

enhancement