summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-08 18:27:52 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-08 18:40:40 +0100
commit12ecf37f645f3b9c2ed958e914618b4ff6ff2b60 (patch)
tree8b0c0035fb7043ad0880849e7defcb5414e1e301 /play.js
parent398138dcf935e4ef8e1986b75d584591b3a3f7b5 (diff)
download1989-dawn-of-freedom-12ecf37f645f3b9c2ed958e914618b4ff6ff2b60.tar.gz
Use map for more efficient SP summary storage.
Remove unused code.
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/play.js b/play.js
index 0d9acc8..29d10e9 100644
--- a/play.js
+++ b/play.js
@@ -998,10 +998,6 @@ function sub_icon(match) {
return ICONS[match] || match
}
-function wrap_icons(match) {
- return `<span class="marginalia">${match.replace("(", "").replace(")", "")}</span>`
-}
-
const ICONS = {
'->': '\u2192',
'.dT5': '<span class="number d_tst">5</span>',