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
Before using Inject.setModuleRoot, both window.define and Inject.define point to the same object. However, once you call Inject.setModuleRoot, they no longer are the same object so trying to configure AMD using Inject.disableAMD(true) does not work.
Before using
Inject.setModuleRoot
, bothwindow.define
andInject.define
point to the same object. However, once you callInject.setModuleRoot
, they no longer are the same object so trying to configure AMD usingInject.disableAMD(true)
does not work.See my jsfiddle https://jsfiddle.net/straker/174Legs7/.
The current workaround is to either set
window.define
to theInject.disableAMD
return object or configure AMD before you call set the module root.However, I believe when you set the module root you should also reset the global define function to equal
Inject.define
again.The text was updated successfully, but these errors were encountered: