Skip to content
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

Merge in upstream #773

Closed
wants to merge 5 commits into from
Closed

Merge in upstream #773

wants to merge 5 commits into from

Conversation

peap
Copy link
Contributor

@peap peap commented Nov 17, 2015

No description provided.

Eric Petersen and others added 5 commits August 20, 2015 16:02
When we undefine the entire window.define, modules loaded asynchronously
can randomly fail to register themselves. However, jQuery 2+ checks for
define.amd before registering itself as an AMD module, not just 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 jazzband#591.
Better name for the define.amd backup
@peap
Copy link
Contributor Author

peap commented Nov 17, 2015

oops, sorry - didn't me to open this

@peap peap closed this Nov 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants