diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -75,7 +75,7 @@ a document.ready function like this: ``` js $(document).ready(function(){ - var bullet = $.bullet(stream); + var bullet = $.bullet('ws://localhost/path/to/bullet/handler'); bullet.onopen = function(){ console.log('WebSocket: opened'); }; |