-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AMD loaders #3107
Update AMD loaders #3107
Conversation
Don't merge this yet, there may be an issue with minified Workers that I'm looking into. |
It looks like the upgrade causes all release tests that use |
Update `requirejs` from 2.1.9 to 2.1.20. Update `almond` from 0.2.6 to 0.3.1.
2e3f2cc
to
77d22e0
Compare
@shunter I noticed |
I tried this branch and everything seems to be working. TaskProcessor specs are passing for me in normal mode, combined mode, and minified mode. Aside from that, yes, you should update the copy of require.js in the bootstrapper. |
Nevermind, I just noticed that your force push made my git update fail. I'll try again. |
Sorry about that, I've been a little force push happy lately to clean up my own commit histories. |
Recent changes (well, over a year ago) to RequireJS broke the way we were locating the Source directory in both normal and combined test modes. Instead, we now configure RequireJS with an additional path "Source" which always points to the Source directory, regardless of mode. This path should not be used from other specs, because it will bypass the stubs in the combined test mode. It is specifically intended for the TaskProcessor specs, because the TestWorkers need to always load using the individual modules in Source.
I fixed the problems with workers in the tests, and updated the version of RequireJS in the bootstrapper. Merging. |
Awesome, thanks @shunter! |
Update
requirejs
from 2.1.9 to 2.1.20.Update
almond
from 0.2.6 to 0.3.1.Someone related to #3106, but this can go into master at any time.