raphael: raphael breaks if loaded via require-js.
Raphael also breaks if requires merely existent on the page. If require is not undefined (and in case requirejs is loaded, require is defined), eve won’t be added to the global scope.
About this issue
- Original URL
- State: closed
- Created 12 years ago
- Comments: 70
I just added <script src=...> before other JS files directly into main HTML
file and it worked.
Azat, http://azat.co
On Wed, Mar 28, 2012 at 7:19 PM, Timophey < reply@reply.github.com
+1
The idea is to load raphael without leaking any other variable or library into your window or rjs context. With no-deps you explicitly define eve as your dependency and share it with raphael.