aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2020-01-07 10:11:31 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2020-01-07 10:14:16 -0500
commitfe47eaa5885c41f9cf0be58028c1ec6bd330badc (patch)
treee49e75422e1c545613de8bc309268afe83459a63
parentecd45c98374fd9bdef33c7a0caeecc2bab594c04 (diff)
removed jarvis testing values
-rw-r--r--examples/jarvis.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/jarvis.js b/examples/jarvis.js
index 2294d7a..4387a15 100644
--- a/examples/jarvis.js
+++ b/examples/jarvis.js
@@ -69,13 +69,13 @@ notifsrc = '\
\n\
For a node.js YWOT api: \n\
& http://github.com/feynmansfedora/ywot-clean \n\
-& Try `j@rvis` today. Uptime: UPTIME \n\
+& Try `jarvis` today. Uptime: UPTIME \n\
'
var minsUp = 0;
var ctrl;
function notifRefresh(){
let newnotif = new Space();
- newnotif.loc = [-60, 20];
+ newnotif.loc = [-6, 20];
newnotif.adhoc(notifsrc.replace('UPTIME', Math.floor(minsUp/60) + 'h' + minsUp%60 + 'm'));
let diff = newnotif.copy();
if (typeof notif !== 'undefined') diff.comb(notif, comb.sub);
@@ -108,11 +108,11 @@ function protectArea(send, tiles, locs){
}
var search = new Space();
-search.adhoc('j@rvis'); // The search space is the word jarvis, so whenever that's caught, a relevant function can be called.
+search.adhoc('jarvis'); // The search space is the word jarvis, so whenever that's caught, a relevant function can be called.
var read = new Search(search);
var expire = {};
-function detectPrompt(send, tiles, locs){ // tries to detect the prompt ('j@rvis') and calls respond if found.
+function detectPrompt(send, tiles, locs){ // tries to detect the prompt ('jarvis') and calls respond if found.
for (let i=0; i<locs.length; i++){
let loc = locs[i];
if (read.has(loc)){