This is by far the oldest question I have answered so far!
I created this script to use RequireJS contexts , but it does not work.
Contexts load modules from different paths in order, but both require()
calls use the bust ( urlArgs
) parameter.
So my conclusion is that you cannot do what you want to do out of the box.
http://jsfiddle.net/FXSSf/5/
source share