Skip to content

Commit 7774b46

Browse files
committed
Merge pull request Devristo#25 from DannyWilkerson/patch-4
Update phpws.js
2 parents 719a215 + cbbda21 commit 7774b46

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

js/phpws.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999

100100
this.close = function(){
101101
return ws.close.apply(ws, arguments);
102-
}
102+
};
103103
};
104104

105105
Client.prototype = new Emitter;
@@ -139,7 +139,6 @@
139139
console.log("Subscribing to room " + self.name);
140140
self.transport.emit(self.name, "subscribe");
141141
});
142-
143142
return this;
144143
};
145144

@@ -151,7 +150,6 @@
151150
var previousTag = 0;
152151
var generateTag = function(){
153152
previousTag += 1;
154-
155153
return "client-"+previousTag;
156154
};
157155

@@ -201,7 +199,7 @@
201199
sendObj(msg);
202200

203201
return this;
204-
}
202+
};
205203
};
206204

207205
EventTransport.prototype = new Emitter;
@@ -212,4 +210,4 @@
212210
RemoteEvents: EventTransport
213211
};
214212

215-
}(window.jQuery);
213+
}(window.jQuery);

0 commit comments

Comments
 (0)