Open
Description
For example this problem appears when you mix code using the dist version of jquery and code using the jquery plugin.
To load the dist version of jQuery with requirejs you need something like:
requirejs.config({
paths: {
"jquery": "jquery/dist/jquery.min"
}
});
Then, if the jquery plugin is used before the dist jquery is loaded, the jquery plugin will try to get the jquery module foo
at jquery/dist/jquery.min/src/foo.js
(since the jquery globals are not set yet).
I don't see an easy way to solve this. Maybe @wkeese have an idea on this ?
PS: issue encountered by @edchat.
edit: if jquery is loaded before the use of the jquery plugin, it's ok because the globals are set and the plugin returns them.