aboutsummaryrefslogtreecommitdiff
path: root/examples/nword.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nword.js')
-rw-r--r--examples/nword.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nword.js b/examples/nword.js
index fe09a0b..5926e42 100644
--- a/examples/nword.js
+++ b/examples/nword.js
@@ -21,12 +21,12 @@ var wq = new Queue(1000, 200, (w,max) =>{
}
});
-main.on('open',()=>{wq.enable(); console.log('here');});
+main.on('open',()=>wq.enable());
var expire = {};
main.on('tileUpdate', (send, source, tiles)=>{
let tiledata = maketiles(tiles);
- for (loc of tiledata.locs) {
+ for (let loc of tiledata.locs) {
let spc = tiledata.tilespaces[loc];
if (search.has(loc)){
clearTimeout(expire[loc]);