From 2b886c4f396f230334268d26c7a3ee44dd37c595 Mon Sep 17 00:00:00 2001 From: serversdown Date: Mon, 2 Nov 2026 16:17:44 -0500 Subject: [PATCH] refactor(sfm): move the page's JavaScript out of sfm_webapp.html into sfm/static/ (no code change) Stack-wide rule since 2026-11-02 (terra-view docs/tmi-stack.md, Terra-View's rule 4): no inline JavaScript, because a test cannot load it. This page's tests had to regex their code out of the HTML. Batch 2 edits both of the page's scripts, so they come out first, verbatim: - sfm/static/device_routing.js: the tested routing rules (157 lines) - sfm/static/sfm_webapp.js: the rest of the page (2,274 lines) The page loads them with - + +