Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a javascript loader(such as requirejs) to load autobahnjs #35

Closed
jamhall opened this issue Oct 16, 2013 · 4 comments · Fixed by #49
Closed

Using a javascript loader(such as requirejs) to load autobahnjs #35

jamhall opened this issue Oct 16, 2013 · 4 comments · Fixed by #49

Comments

@jamhall
Copy link

jamhall commented Oct 16, 2013

Hi!

First of all, great library! 👍

I'm using requirejs to load dependencies. Whenjs, is AMD compliant, but sadly AutobahnJS is not (I've read the issue: #20)

I'm loading the autobahn.js directly from the cloned repository and not the bundle file(which includes whenjs - https://autobahn.s3.amazonaws.com/js/autobahn.js) as I'd rather keep autobahn and when separate.

Whenjs loads perfectly fine. However, when loading autobahns, I always get the error that when is undefined. I have also tried loading the bundled version to see if that works....but no luck.

I've posted a question on SO: http://stackoverflow.com/questions/19408177/getting-dependencies-to-load-correctly-in-requirejs-autobahn-and-whenjs

If you have any pointers how I could solve this problem or if you could point me in the right direction that would be great :-)

Once again, great library. Keep up the good work :-)

@oberstet
Copy link
Contributor

provided in v0.8.0

@jamhall
Copy link
Author

jamhall commented Oct 27, 2013

Excellent. Thanks!

@hugohenrique
Copy link
Contributor

I'm with the same problem: "Uncaught ReferenceError: ab is not defined" I'm using this version: http://autobahn.s3.amazonaws.com/js/autobahn.min.js think it's the newest....

ping @oberstet

@hugohenrique
Copy link
Contributor

Uncaught ReferenceError: ab is not defined autobahn.js:3591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants