question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

raphael breaks if loaded via require-js.

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 12 years ago
  • Comments:70

github_iconTop GitHub Comments

3reactions
azat-cocommented, Mar 30, 2012

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

wrote:

The same problem (Require.js+Backbone.js+Raphael.js). It does not support AMD system… So… what could we do? Load it globally…? pf…


Reply to this email directly or view it on GitHub:

https://github.com/DmitryBaranovskiy/raphael/issues/524#issuecomment-4795485

1reaction
alzumacommented, Oct 21, 2016

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Loading Raphael JS via require JS - Veera / Blog
Raphael, the SVG JavaScript library, does not support require JS (yet). When loaded via require('raphael') , the code breaks throwing 'eve ...
Read more >
Loading Raphael JS via require JS - DZone
Raphael, the SVG JavaScript library, does not support require JS (yet). When loaded via require('raphael') , the code breaks throwing 'eve ...
Read more >
javascript - RequireJS and jQuery plugin - Stack Overflow
I was using Django Debug Toolbar in parallel with require, and it appears that it's loading it's own version of jQuery, messing up...
Read more >
Common Errors - RequireJS
Be sure to load all scripts that call define() via the RequireJS API. Do not manually code script tags in HTML to load...
Read more >
Javascript library in a notebook: morris — jyquickhelper
raphael breaks if loaded via require-js · raphael-loader. So I reused one version of Raphael which seemed to work well in a previous...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found