From 84d292cfdad4249885e43b7123634e5a8dd0ff1f Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Wed, 18 Dec 2019 20:57:16 -0500 Subject: updated socket and space to export the main class --- tests/socket_cursor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/socket_cursor.js') diff --git a/tests/socket_cursor.js b/tests/socket_cursor.js index dc0ca7f..e9e4df7 100644 --- a/tests/socket_cursor.js +++ b/tests/socket_cursor.js @@ -1,8 +1,8 @@ // Tests Socket.cursor and Socket.on('cursor') -socket = require('../socket'); +Socket = require('../socket'); -world = new socket.Socket(); +world = new Socket(); world.on('open', ()=>{world.cursor([22,23])}); world.on('cursor', (locs, send)=>{console.log(locs,send)}); -- cgit