Open magnars opened 7 years ago
This turns out to not be a complete fix. The getToken
function in the goog history API does not include the hash, so the initial dispatch does not include the hash. Hmfr.
Thankfully it wasn't goog.History that omitted the initial hash, so I was able to mend this easily enough. This PR is now good again. :)
When URLs have fragments in them, pushy used to discard them. This change preserves the fragment. Example:
Pushy would go to just
/a-page
before this change.