mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
changed function( to function (
This commit is contained in:
parent
26f3d22db7
commit
7e5eeb0a27
36 changed files with 209 additions and 209 deletions
|
|
@ -4,7 +4,7 @@ define([
|
|||
"Game/Core/NotificationCenter"
|
||||
],
|
||||
|
||||
function(Parent, ProtocolHelper, NotificationCenter) {
|
||||
function (Parent, ProtocolHelper, NotificationCenter) {
|
||||
|
||||
function User(id, coordinator) {
|
||||
Parent.call(this, id);
|
||||
|
|
@ -18,17 +18,17 @@ function(Parent, ProtocolHelper, NotificationCenter) {
|
|||
|
||||
User.prototype = Object.create(Parent.prototype);
|
||||
|
||||
User.prototype.init = function(socketLink){
|
||||
User.prototype.init = function (socketLink){
|
||||
|
||||
var self = this;
|
||||
|
||||
}
|
||||
/*
|
||||
User.prototype.setChannel = function(channel) {
|
||||
User.prototype.setChannel = function (channel) {
|
||||
this.channel = channel;
|
||||
}
|
||||
|
||||
User.prototype.sendCommand = function(command, options) {
|
||||
User.prototype.sendCommand = function (command, options) {
|
||||
|
||||
var message = ProtocolHelper.encodeCommand(command, options);
|
||||
this.socketLink.send(message);
|
||||
|
|
@ -36,7 +36,7 @@ function(Parent, ProtocolHelper, NotificationCenter) {
|
|||
|
||||
|
||||
|
||||
User.prototype.toString = function() {
|
||||
User.prototype.toString = function () {
|
||||
return "[User " + this.id + "]";
|
||||
};
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue