Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Dependencies are loaded more than once when a 3rd party library which supports AMD (has define statements) is loaded using steal?

$
0
0
make sure you have the map config like:

map: {'jquery/jquery': 'jquery'}


otherwise, it should be possible to see what the different modules names for jquery are.  What I would do is put a debugger in SystemJS's fetch ... you'll see some code using XMLHttpRequest object.  There you could see what module name is making an ajax request for 'jquery.js'.

I can explain more, but not until Monday.  Maybe matthew will be able to help you out if you have any further questions.

Viewing all articles
Browse latest Browse all 3491

Trending Articles