You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it does capture this require as well. In majority of cases it does not create harm, but there are cases which rely on require being the local require, not the root namespace.require (workaround - use different variable name).
Definitely a weakness in the namespace support. Since the work will happen in r.js, and is likely not a 2.x issue, filed requirejs/r.js#871, which would fix this bug, will be hard to do before that change. So closing this one in favor of tracking it in the other bug.
Activity
jrburke commentedon Nov 16, 2015
Definitely a weakness in the namespace support. Since the work will happen in r.js, and is likely not a 2.x issue, filed requirejs/r.js#871, which would fix this bug, will be hard to do before that change. So closing this one in favor of tracking it in the other bug.