Comparing version 0.1.21 to 0.1.22
{ | ||
"name": "cheshire", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"description": "Turn based boardgame framework based on websocket", | ||
@@ -5,0 +5,0 @@ "main": "server/Cheshire.js", |
@@ -112,2 +112,6 @@ var ws = require('ws'); | ||
User.prototype.once = function(event, listener) { | ||
this.custom.once(event, listener); | ||
}; | ||
User.prototype.emit = function(event, data) { | ||
@@ -114,0 +118,0 @@ this.post('custom', { |
Sorry, the diff of this file is not supported yet
47687
300