Comparing version 0.1.19 to 0.1.20
{ | ||
"name": "cheshire", | ||
"version": "0.1.19", | ||
"version": "0.1.20", | ||
"description": "Turn based boardgame framework based on websocket", | ||
@@ -5,0 +5,0 @@ "main": "server/Cheshire.js", |
@@ -97,3 +97,3 @@ var ws = require('ws'); | ||
User.prototype.send = function(data) { | ||
if (ws.WebSocket.OPEN !== this.socket.readyState) return; | ||
if (ws.OPEN !== this.socket.readyState) return; | ||
this.socket.send(JSON.stringify(data)); | ||
@@ -100,0 +100,0 @@ }; |
Sorry, the diff of this file is not supported yet
47553