shift-org / shift-docs

Shift2Bikes: website and calendar for shift and pedalpalooza
https://shift2bikes.org
Other
22 stars 17 forks source link

Remove unused JS routing #606

Closed carrythebanner closed 9 months ago

carrythebanner commented 9 months ago

This code appears to have been used c. 2017 when the /fun calendar pages were functioning as a self-contained SPA within the larger site. See commented out code in this commit for context on how this was previously used: https://github.com/shift-org/shift-docs/commit/9b4243fa3fa6cf4475da1f6d0be4f4f34b76da27 We're not doing that sort of JS routing any more, so this isn't needed.

ionous commented 9 months ago

took me a bit, but i see:addRoute is never called so var routes is empty, testRoute never returns true, so while checkAnchorsDebounced runs -- it never does anything.