From 598aa6187e5adf07e5f440e457c8a6392bf95edb Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 26 Aug 2024 11:30:37 +0200 Subject: fix eslint issues --- play.js | 4 +--- rules.js | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/play.js b/play.js index ddfd31c..0840827 100644 --- a/play.js +++ b/play.js @@ -1,7 +1,7 @@ "use strict" /* - global view, data, roles, send_action, action_button + global view, data, roles, send_action, action_button, confirm_action_button */ // TODO: show "reshuffle" flag next to card deck display @@ -566,8 +566,6 @@ function layout_all_cu(an, fn, bn, ae, fe, be, pos) { } function on_update() { - let e - remember_position(ui.turn_marker) remember_position(ui.french_alliance) remember_position(ui.french_navy) diff --git a/rules.js b/rules.js index 358c8a0..a77b2d5 100644 --- a/rules.js +++ b/rules.js @@ -3839,7 +3839,6 @@ function has_american_winter_attrition(s) { } function has_british_winter_attrition(s) { - let wq = is_winter_quarter_space(s) let n_british = count_british_cu(s) // EXCEPT: Single CU in a space with General. -- cgit v1.2.3