jquery-routes
jquery-routes copied to clipboard
Can I route without "#" hashes?
I want to use route with history.pushState like this:
- http://example.com/
- http://example.com/article/
- http://example.com/article/1/
- http://example.com/article/2/
Can I?
Nope, it's not supported at the moment but I'm open for a PR for that.
I found this article: http://krasimirtsonev.com/blog/article/A-modern-JavaScript-router-in-100-lines-history-api-pushState-hash-url
The class Router works fine to me. I hope it can be helpful.