ianstormtaylor/router — pull request #21 by MatthewMueller (2014-06-26 14:35:24+00:00)
Title: fix initial back button on non-broken browsers

missed this the first time through. when you press back button after routing on browsers that do not call `popstate` immediately, then we accidentally ignore that dispatch.

Also realized my first check was checking the variable history and not `window.history` for state.