From 5912a13ccb48313da191741931409a11b217d306 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sat, 22 Feb 2020 22:56:41 +0000 Subject: removed global variable pollution --- tools/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/search.js') diff --git a/tools/search.js b/tools/search.js index 78e0ee7..e365214 100644 --- a/tools/search.js +++ b/tools/search.js @@ -78,7 +78,7 @@ function Search(){ // searchBlock should be a Space object. this.update = function(space){ // Must be a space w/ valid loc; allows overlay of some arbitrary text (in the space) mostly for recording updates from the server without directly cataloguing them let tiles = raster(space); // Returns a this.tiles-style binding: {'2,-3':Space object} - for (tile in tiles){ + for (let tile in tiles){ if (this.tiles[tile]) this.tiles[tile].comb(tiles[tile], comb.flip(comb.add)); else this.add(tile, tiles[tile]); } -- cgit