Issue #1 resolved

better browser example please

created an issue

being quite new to node and websockets I tried to get the simple example "add" rpc-call to work. While this works for a node client I fail to get it working in a webrowser as indicated in the readme using browserify as a commonjs-wrapper (allthough It seems I have a Client-Object with all required dependencies). Could provide a full example with in browser code?


Comments (2)

  1. Isaac Simmons repo owner

    In addition to the lack of documentation, there were some bugs that got introduced when I changed some common functions and didn't update the browser client. Should be resolved now.

    The README includes sample code to build a brower-usable bundle, and the examples/ directory has a small HTML example that uses that bundle and can be loaded from the local filesystem.

  2. Log in to comment