From b7833b842d6be60b9170a3cebe94a515d49066bd Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 14 Nov 2023 12:03:13 -0500 Subject: Declare for loop variables --- www/causal.agency/lands.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/causal.agency/lands.html b/www/causal.agency/lands.html index fecd06bf..7aaadd80 100644 --- a/www/causal.agency/lands.html +++ b/www/causal.agency/lands.html @@ -75,7 +75,7 @@ function showCard(card) { } function resetChecks() { - for (c of "wubrg") { + for (let c of "wubrg") { let input = document.getElementById(c); input.checked = false; input.disabled = false; @@ -87,7 +87,7 @@ function checkChecks(card) { let score = 0; let total = 0; let checked = 0; - for (c of "wubrg") { + for (let c of "wubrg") { let input = document.getElementById(c); let produced = card.produced_mana.includes(c.toUpperCase()); if (produced) { @@ -104,7 +104,7 @@ function checkChecks(card) { } document.onkeydown = function(event) { - for (c of "wubrg") { + for (let c of "wubrg") { if (event.key == c) { let input = document.getElementById(c); if (!input.disabled) input.checked ^= true; -- cgit 1.4.1 ommit/bin/pngo.c?id=44957b0c7006183c7c956cc5d3be824e386cd002&follow=1'>commit diff
path: root/bin/pngo.c (unfollow)
Commit message (Expand)Author
2019-02-09Avoid using SGRReset and IRCResetJune McEnroe
2019-02-08Use X macros for hi classesJune McEnroe
2019-02-08Don't open folds when using {}June McEnroe
2019-02-08Add sh syntax to hiJune McEnroe
2019-02-08Use [] to quote special characters in regexJune McEnroe
2019-02-08Improve ANSI output and base IRC on itJune McEnroe
2019-02-08Add hi -nJune McEnroe
2019-02-08Elaborate hi man pageJune McEnroe
2019-02-08Use set for parent in hiJune McEnroe
2019-02-08Switch back to semantic keyword grouping in hiJune McEnroe
2019-02-08Match only the basename in hiJune McEnroe
2019-02-07Add mdoc syntax to hiJune McEnroe
2019-02-07Support multi-line C macros in hiJune McEnroe
2019-02-07Detect .mk files as makeJune McEnroe
2019-02-07Add make syntax to hiJune McEnroe
2019-02-07Add IRC output to hiJune McEnroe
2019-02-07Improve C syntax accuracy and add Format classJune McEnroe
2019-02-07Factor out hi checkJune McEnroe
2019-02-07Add Escape class to hiJune McEnroe
2019-02-07Add Todo class and parent syntax constraintJune McEnroe