-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Non-AMD Dependency Support #30
Comments
These should be loading in parallel but executing in order (without |
I’ve confirmed that the loader is not working in the way it should be working for non-AMD modules. This will be resolved for 1.1. |
@abjorn This has been implemented using an AMD loader plugin (
This feature will be available in 1.1, or if you are tracking master you can use it today. Thanks for the report! |
In my use case, the use of My codebase uses I can change my code to work this way today, but I think in the future it should be supported by Intern via plugin (like the now defunct use plugin for Require.js) for compatibility-sake, unless you're only interested in officially supporting Dojo-based projects. |
Hi Abjorn, Those third party libraries are the code that I was referring to in point 1. This is not a Dojo issue or a Dojo loader issue. Dojo 1, Dojo 2, curl.js, bdLoad, lsjs, almond.js, inject, pinf, NeedsJS, and brequire all do not implement If you really need |
There doesn't appear to be any way to handle non-AMD dependencies (i.e. jQuery plugins) in Intern, since the AMD shim configuration isn't supported by the Dojo loader (https://github.com/csnover/dojo2-core/issues/9).
I'm winding up with jQuery plugins that are not loaded correctly because they're loaded before jQuery.
The text was updated successfully, but these errors were encountered: