Permalink
Browse files

renames under @marak recommends

  • Loading branch information...
1 parent da7bfd0 commit 31bb23ebd40bc750cd67f8b516b7b25745473e29 cronopio committed Sep 14, 2011
View
8 bin/hookws → bin/ws
@@ -8,4 +8,12 @@ var mtgoxTest = new WebSocketHook({
debug:true
});
+
+mtgoxTest.on('websocket::message',function(data){
+ if (data.op == 'subscribe'){
+ console.log('Now suscribe to ');
+ }
+ console.log(data);
+});
+
mtgoxTest.start();
View
0 lib/websocket.js → lib/websocketModule.js
File renamed without changes.
View
0 lib/hookws.js → lib/ws.js
File renamed without changes.
View
4 package.json
@@ -8,9 +8,9 @@
"url": "git://github.com/cronopio/hook.io-ws.git"
},
"bin": {
- "hookio-websocket": "./bin/hookws"
+ "hookio-websocket": "./bin/ws"
},
- "main": "lib/hookws",
+ "main": "lib/ws",
"engines": {
"node": ">= v0.4.7"
},

0 comments on commit 31bb23e

Please sign in to comment.