Browse files

better doc + removed forgotten console.log

	modified:   iframe/main.js
  • Loading branch information...
1 parent fcd2845 commit f58f0cfd03600530b1789f4f51cc8296363a24a8 @jeromeetienne committed Feb 15, 2011
Showing with 9 additions and 5 deletions.
  1. +8 −4
  2. +1 −1 iframe/main.js
@@ -1,15 +1,16 @@
+see the [homepage](
# Easy WebSocket
*like WebSocket but no server setup and available in any browser*
EasyWebSocket aims to make realtimes webapps in every browser without the trouble
to setup Websocket servers.
-The API is copied on [Websocket standard API](
# How to use it
-Just include the following in your webpage. see it [live](
+Include the following in your webpage and it just works.
<script src=""></script>
@@ -21,7 +22,10 @@ Just include the following in your webpage. see it [live](http://easywebsocket.o
+*Step 1*: You connect the socket to a given url
-# Demo
+*Step 2*: What you send() thru this socket is sent to all sockets connected the same url
-I wrote a [chat demo]( over EasyWebSocket
+See this code [live]( No server
+setup, no cross-origin issue to care about... It is that easy!
@@ -202,7 +202,7 @@ IframeMain.prototype.pingCallback = function(){
- IframeMain.log = console.log.bind(console);
+ //IframeMain.log = console.log.bind(console);
var iframeMain = new IframeMain();

0 comments on commit f58f0cf

Please sign in to comment.