Skip to content

Add support for AMD (asynchronous module definition)#40

Merged
le717 merged 1 commit intogabceb:masterfrom
jcbrand:master
Nov 7, 2014
Merged

Add support for AMD (asynchronous module definition)#40
le717 merged 1 commit intogabceb:masterfrom
jcbrand:master

Conversation

@jcbrand
Copy link
Contributor

@jcbrand jcbrand commented Oct 8, 2014

This change adds support for AMD, as used by module loaders such as require.js (with fallback in case a module loader is not present).

I see in #38 that you are considering removing the coffeescript file, so I didn't bother modifying that file as well.

Let me know if anything else is required.

Thanks
JC

@le717
Copy link
Contributor

le717 commented Oct 8, 2014

Ref #18 just for logging purposes. ;)

@le717
Copy link
Contributor

le717 commented Nov 3, 2014

@jcbrand I guess I should have asked this earlier: I assume you have successfully tested this in an/your AMD environment?

@jcbrand
Copy link
Contributor Author

jcbrand commented Nov 4, 2014

@le717 Yes, this is being used in converse.js

@le717
Copy link
Contributor

le717 commented Nov 6, 2014

The changes look good, but I'm having to track down some regressions right now, so I can't merge this quite yet. I'll get it in as soon as I can, though, as it is requested and a desired feature. Sorry about that and the long wait already! :(

@jcbrand
Copy link
Contributor Author

jcbrand commented Nov 7, 2014

Thanks for the update.

le717 pushed a commit that referenced this pull request Nov 7, 2014
Add support for AMD (asynchronous module definition)
@le717 le717 merged commit f975554 into gabceb:master Nov 7, 2014
@le717
Copy link
Contributor

le717 commented Nov 7, 2014

While the regressions I mentioned still exist, this does not affect fixing them, so I went ahead and merged it. Thanks for the contribution!

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 this pull request may close these issues.

2 participants