diff options
Diffstat (limited to 'socket.js')
-rw-r--r-- | socket.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ class Socket extends retryws { this.fetch = function(coords){ //coords is a list of min/max pairs of y/x coordinate pairs which each describe at most 1000 tiles //Unchecked for speed - for (var i=0; i<coords.length; i++){ + for (let i=0; i<coords.length; i++){ coords[i] = {"minY":coords[i][0][0], "minX":coords[i][0][1], "maxY":coords[i][1][0], "maxX":coords[i][1][1]}; } this.send( JSON.stringify({ |