summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-01-02 17:39:48 +0100
committerTor Andersson <tor@ccxvii.net>2025-01-03 22:30:15 +0100
commit5f8f49869a62ce92baf91a75723227ee7afca7d9 (patch)
treeb12c0392ae1faf0cef05dcab2771b5d05f69a10e /play.js
parenteec721d105dbb0f8835e5624c2927999c2e77ac5 (diff)
download1989-dawn-of-freedom-5f8f49869a62ce92baf91a75723227ee7afca7d9.tar.gz
fix indentation and semicolons
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/play.js b/play.js
index 0471007..d78cfd4 100644
--- a/play.js
+++ b/play.js
@@ -624,7 +624,7 @@ function layout_vp_marker() {
}
function layout_country(id) {
- // TODO: what number to display?
+ // TODO: what number to display?
if (view.revolutions[id])
ui.countries[id].className = "marker demInfl ctl v" + view.times_held[id]
else if (view.times_held[id] > 0)
@@ -992,7 +992,7 @@ function sub_icon(match) {
return ICONS[match] || match
}
-function sub_arrow(match) {
+function sub_arrow(_match) {
return '<span>&nbsp&#8594&nbsp</span>'
}
@@ -1122,7 +1122,7 @@ function on_log(text, ix) {
log_event = 0
}
-//Group events
+ // Group events
// Reset group box counters (when log is rewound)
if (ix <= log_event) log_event = 0