jstp 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jstp/version.rb +1 -1
- data/lib/jstp/web_socket.rb +2 -2
- metadata +1 -1
data/lib/jstp/version.rb
CHANGED
data/lib/jstp/web_socket.rb
CHANGED
@@ -14,8 +14,8 @@ module JSTP
|
|
14
14
|
|
15
15
|
server.onmessage { |message|
|
16
16
|
message = JSON.parse message
|
17
|
-
Connector.instance.block.call
|
18
|
-
JSTP::WebSocket.instance.sockets.key(server)
|
17
|
+
Connector.instance.block.call(message,
|
18
|
+
JSTP::WebSocket.instance.sockets.key(server))
|
19
19
|
}
|
20
20
|
}
|
21
21
|
end
|