@@ -83,8 +83,9 @@ Socket.prototype._startWebSocket = function() {
// socket is open.
this._socket.onopen = function() {
util.log('Socket open');
- if (self._id)
+ if (self._id) {
self.emit('open');
+ }
};