Skip to content
This repository

Added AMD support #540

Closed
wants to merge 6 commits into from

2 participants

Patrick McElhaney Tomas Alabes
Patrick McElhaney

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!

Tomas Alabes
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.