Permalink
Browse files

update

  • Loading branch information...
1 parent 8b41a0c commit 03c684dab1a1b7e3ed532504d57fe371997cd06e @youurayy committed Feb 26, 2012
Showing with 6 additions and 6 deletions.
  1. +5 −5 public/ws-rpc-client.js
  2. +1 −1 public/ws-rpc-client.min.js
View
@@ -3,7 +3,7 @@
(function() {
- function __initWebSocketRPC(WebSocket) {
+ function initWebSocketRPC(WebSocket) {
// caller to callee message flow:
@@ -212,10 +212,10 @@
if(typeof(module) !== 'undefined')
- // expose the main object in Node.js
- module.exports = __initWebSocketRPC;
+ // expose the init function in Node.js
+ module.exports = initWebSocketRPC;
else
- // expose the main object in browser
- window.WebSocketRPC = __initWebSocketRPC(window.WebSocket);
+ // expose the init function in browser
+ window.InitWebSocketRPC = initWebSocketRPC;
})();

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 03c684d

Please sign in to comment.