diff options
Diffstat (limited to 'examples/spam.js')
-rw-r--r-- | examples/spam.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/spam.js b/examples/spam.js index 8134c76..53ac2af 100644 --- a/examples/spam.js +++ b/examples/spam.js @@ -1,8 +1,8 @@ // Sorry about writing this, but I want to maintain a notif about the API -const socket = require('../socket'); -const space = require('../space'); +const Socket = require('../socket'); +const Space = require('../space'); -let text = new space.Space(); +let text = new Space(); text.adhoc("\ \n\ For a node.js YWOT api: \n\ @@ -10,7 +10,7 @@ text.adhoc("\ "); let out = text.towrite([-6,20]); -let main = new socket.Socket(); +let main = new Socket(); function write(){ main.write(out.slice()); |