Closed davewhiteland closed 3 years ago
Done in 5d5fc8d4ec2bd742bea9dc8d895844e0ae3b404d and thereabouts: everything in code.js
with no JS inside individual topics.
That interactive directory stuff is a bit of a monster though. Probably still easiest to keep all JS in a single file though as it's effectively being cached on any visit now, which means navigating to any interactive dir page only needs to download the SVG to start.
Currently there's a bit of DRY violation going on in absolute and relative — probably should make that JS an _include that serves both pages.