Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for popstate firing on page load. #1425
On Chrome popstate is fired on page load (see http://stackoverflow.com/questions/6421769/popstate-on-pages-load-in-chrome). This causes the initial route to be entered twice. This PR fixes that.
I would add a test for this, but due it it requiring a fresh page load, it is very non-trivial.