Added AMD support #540

Closed
wants to merge 6 commits into
from

2 participants

@pmcelhaney

To use in an AMD project, load the module defined in raphael.amd.js.

The existing rapahel.js file works the same as always, exporting a global Raphael object. You'll have to build it again using the make script. I moved eve.js to a subdirectory called eve. Other than that, I think the make script should work out of the box for you.

I removed raphael.js and raphael.min.js from source control since they're built by the make script. I would suggest adding those to the Downloads list on Github.

Please let me know if you have any questions about AMD or what I did here. Thanks for building this awesome library!

Patrick McEl... added some commits Feb 14, 2012
@tomasAlabes
Collaborator

Dmitry wants to find another approach to AMD. Thanks anyway!

@tomasAlabes tomasAlabes closed this Mar 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment