canjs / can-route

Observable front-end application routing for CanJS.
https://canjs.com/doc/can-route.html
MIT License
10 stars 4 forks source link

Move `toURLFragment` to can-route-pushstate. #222

Open indifferentghost opened 5 years ago

indifferentghost commented 5 years ago

From the notes in can-route/src/deparam.js, [link]:

// TODO: I'm not totally sure this belongs here. This might be shifted to can-route-pushstate.

The helper function toURLFragment should be moved to another file, probably can-route-pushstate.