aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-24 20:56:09 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-27 14:52:44 -0500
commit794bb26a4051c08ce8b70476b75a7e367a19deb8 (patch)
treed33a21629fd99cc4935ed8625fbd24818f800872 /examples
parent4bd0a90631cc07d1433a11079bfc2d54d51fb644 (diff)
reimplemented self-exclusion in jarvis
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 00b4610..8ade4a1 100644
--- a/examples/jarvis.js
+++ b/examples/jarvis.js
@@ -36,7 +36,7 @@ function identity(sender){
var expire = {};
main.on('tileUpdate', (send, source, tiles) => {
- // if (send == sender) return; ::: this may lead to issues later, but for now is used to count its own updates
+ if (send == sender) return; //this may lead to issues later, but for now is used to count its own updates
let locs = tilekeys(tiles);
for (let i=0; i<locs.length; i++){