Skip to content

Commit

Permalink
little cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeetienne committed Oct 22, 2011
1 parent 475e66c commit 55b8b70
Show file tree
Hide file tree
Showing 7 changed files with 196 additions and 220 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -24,8 +24,8 @@ docs:
> gapp/iframe/doc/index.html

minify:
closurec --js node/server/node_modules/socket.io/support/socket.io-client/socket.io.js \
--js node/easyWebSocket-node.js \
closurec --js node/server/node_modules/socket.io-client/dist/socket.io.js \
--js node/easyWebSocket-node.js \
--js_output_file easyWebSocket-node.min.js
closurec --js gapp/easyWebSocket-gapp.js --js_output_file easyWebSocket-gapp.min.js
cp easyWebSocket-node.min.js easyWebSocket.min.js
Expand Down
201 changes: 94 additions & 107 deletions easyWebSocket-node.min.js

Large diffs are not rendered by default.

201 changes: 94 additions & 107 deletions easyWebSocket.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/devel-node.html
Expand Up @@ -4,7 +4,7 @@
<!-- json2 is included because some browsers doesnt have it (e.g. ie8) -->
<script src="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>

<script src="../node/server/node_modules/socket.io/support/socket.io-client/socket.io.js"></script>
<script src="../node/server/node_modules/socket.io-client/dist/socket.io.js"></script>
<script src="../node/easyWebSocket-node.js"></script>
<!-- <script src="../easyWebSocket-node.min.js"></script>
-->
Expand Down
2 changes: 1 addition & 1 deletion example/example.html
Expand Up @@ -5,7 +5,7 @@
<!-- json2 is included because some browsers doesnt have it (e.g. ie8) -->
<script src="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>

<script src="http://easywebsocket.org/easyWebSocket.min.js"></script>
<script src="../easyWebSocket.min.js"></script>
<script>
var socket = new EasyWebSocket("ws://example.com/resource");
socket.onopen = function(){
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -140,7 +140,7 @@ <h1>
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="https://github.com/jeromeetienne/EasyWebsocket/raw/master/easyWebSocket.min.js"></script>
<script src="./easyWebSocket.min.js"></script>
<script>
jQuery(function() {
var socket = new EasyWebSocket("ws://cursors/moving/smooth")
Expand Down
4 changes: 3 additions & 1 deletion node/easyWebSocket-node.js
Expand Up @@ -126,7 +126,9 @@ EasyWebSocket.CLOSED = 3;
* * EasyWebSocket.logFunction = console.log.bind(console);
*/

EasyWebSocket.serverUrl = "http://88.191.76.230:8950"; // TODO change this to be tunable and work on nodester
EasyWebSocket.serverUrl = "http://88.191.76.230:8950"; // TODO change this to be tunable and work on nodester
//EasyWebSocket.serverUrl = "http://192.168.0.10:8950"; // for devel only

EasyWebSocket.logFunction = function(){}

//////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 55b8b70

Please sign in to comment.