fffiloni commited on
Commit
70bffa6
·
1 Parent(s): d441221

Update public/sketch.js

Browse files
Files changed (1) hide show
  1. public/sketch.js +4 -3
public/sketch.js CHANGED
@@ -12,7 +12,8 @@ let Pencil;
12
  let brushesPoints = [];
13
  let show_diffused = false;
14
 
15
-
 
16
  //-----------------------------------------------------
17
  //-----------------------------------------------------
18
 
@@ -24,8 +25,8 @@ const socket = io();
24
  console.log(socket.id); // x8WIv7-mJelg7on_ALbx
25
  socket.on("hello", (arg) => {
26
  //console.log(arg)
27
- const space_uri = arg[0];
28
- const hf_tkn = arg[1];
29
  });
30
  });
31
  }
 
12
  let brushesPoints = [];
13
  let show_diffused = false;
14
 
15
+ let space_uri;
16
+ let hf_tkn;
17
  //-----------------------------------------------------
18
  //-----------------------------------------------------
19
 
 
25
  console.log(socket.id); // x8WIv7-mJelg7on_ALbx
26
  socket.on("hello", (arg) => {
27
  //console.log(arg)
28
+ space_uri = arg[0];
29
+ hf_tkn = arg[1];
30
  });
31
  });
32
  }