So many documentation problems …
- trying to run autobahn JS in a browser
Reading up on docs here:
It says: “The code runs unaltered in the browser or Node.js” … except, no it doesn’t.
Uncaught ReferenceError: require is not defined
var autobahn = require(‘autobahn’);
require(…) isn’t working in the browser. Now what? Apparently this code DOESNT run unaltered in a browser.
- The Getting Started docs are busted
to do this in the browser and in Node.js. This also links to available WAMP routers. In this documentation
use of Crossbar.io is assumed, but examples should work with other routers as well."
Well, clicking on the “Getting Started” link goes to a broken page. I wanted those instructions on getting started in a browser. sigh