use orm
This commit is contained in:
@@ -29,7 +29,7 @@ class JsConnection extends BaseConnection {
|
||||
}
|
||||
|
||||
private function buildSocket(host:String, port:Int):WebSocket {
|
||||
return untyped __js__("self.socket = new WebSocket('ws://'+host+':'+port); ");
|
||||
return untyped __js__("new WebSocket('ws://'+host+':'+port);");
|
||||
}
|
||||
|
||||
override public function connect():Void {
|
||||
|
||||
Reference in New Issue
Block a user