From 04cc0029afb7e65eaa0316ab2f1c671c1a4100b7 Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Thu, 9 Jan 2020 15:13:29 -0500 Subject: added write.enable timeout in jarvis --- examples/jarvis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/jarvis.js') diff --git a/examples/jarvis.js b/examples/jarvis.js index 76e8aa1..2fec17d 100644 --- a/examples/jarvis.js +++ b/examples/jarvis.js @@ -23,7 +23,7 @@ main.on('tileUpdate', tileHandler); //// Configurable helpers for utilities function init(send){ sender = send; - writes.enable(); + setTimeout(()=>{writes.enable},1000); // Would fail if a write were added because it would be within a second of cursor send } function deinit(){ -- cgit