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
Make the fix for using DDT with jQuery and RequireJS more focused
When we undefine the entire window.define, modules loaded asynchronously
can randomly fail to register themselves. However, jQuery 2+ checks for
window.define.amd before registering itself as an AMD module, not just
window.define. So, by unsetting window.define.amd instead of
window.define, we don't break define() for other modules and we still
prevent the page-global jQuery from registering itself as an AMD module,
which was the ultimate goal of #591.
0 commit comments