Permalink
Browse files

[doc] Fix visaulization

  • Loading branch information...
Daniel Aristizabal
Daniel Aristizabal committed Sep 16, 2011
1 parent 1e22738 commit 087f6a2c07d552ac5687d2093ab28288bf99e2b5
Showing with 7 additions and 2 deletions.
  1. +7 −2 README.md
View
@@ -20,7 +20,9 @@ Based on [Peter Griess](https://github.com/pgriess/node-websocket-client) work.
## Development Example
Now you can require the `hook.io-ws` module and instance a new Hook that try to connect to `url` using *WebSockets*
-```
+
+```javascript
+
#!/usr/bin/env node
var WebSocketHook = require('hook.io-ws').HookSocket;
@@ -32,10 +34,13 @@ var mtgoxTest = new WebSocketHook({
});
mtgoxTest.start();
+
```
Or you can use the Hook.io Magic
-```
+
+```javascript
+
/*
* Hook class for interacting with mtgox.com
*/

0 comments on commit 087f6a2

Please sign in to comment.