aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-27 14:13:48 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-27 14:13:48 -0500
commit790a01a32aa37684a5c39e5af6cb17d892212e79 (patch)
treebd413e7ada66ed2554b4d119ec33df6fcc2a5fd6 /examples
parent639ec59f1913a903dee3bb9068108b78c193d616 (diff)
added proto-.loc functionality to space.js
Diffstat (limited to 'examples')
-rw-r--r--examples/jarvis.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/jarvis.js b/examples/jarvis.js
index 9d4bb91..a78024b 100644
--- a/examples/jarvis.js
+++ b/examples/jarvis.js
@@ -43,7 +43,7 @@ function identity(sender){
let loc = locs[i];
if (read.has(loc)) clearTimeout(expire[loc]);
let locspace = new Space();
- locspace.fromfetch(tiles, [loc[0][0], loc[0][1], loc[1][0], loc[1][1]], conform=false);
+ locspace.fromfetch(tiles, [loc, loc], conform=false);
let results = read.add(locspace);
if (! results) respond(results);
expire[loc] = setTimeout(()=>{read.del(loc)}, 30000);