mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
replaced ){ with ) {
This commit is contained in:
parent
76daceb2e7
commit
551fc943c9
20 changed files with 56 additions and 56 deletions
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
}
|
||||
|
||||
Channel.validateName = function (name){
|
||||
Channel.validateName = function (name) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
Channel.prototype.forward = function (target, message) {
|
||||
for(var command in message) {
|
||||
if(typeof target[command] == 'function'){
|
||||
if(typeof target[command] == 'function') {
|
||||
target[command].call(target, message[command]);
|
||||
} else {
|
||||
throw 'trying to call undefined function ' + target[command];
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
|
||||
/*
|
||||
Channel.prototype.addUser = function (user){
|
||||
Channel.prototype.addUser = function (user) {
|
||||
var userIds = Object.keys(this.users);
|
||||
|
||||
this.users[user.id] = user;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue