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.
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.
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.