Skip to content

Remove event/alias and deprecated core module dependencies #1556

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

Closed
wants to merge 23 commits into from

Conversation

arschmitz
Copy link
Member

This also adds an additional version of jQuery to the tests which excluded the event/alias and deprecated modules.

Note: this does not fully work or pass tests until we also update mousewheel and simulate. The changes in both of these cases are trivial and just a couple lines.

arschmitz added 23 commits May 14, 2015 06:55
This adds a custom build which excludes the event/alias and deprecated modules
@@ -531,9 +531,9 @@ $.Widget.prototype = {
eventName = match[ 1 ] + instance.eventNamespace,
selector = match[ 2 ];
if ( selector ) {
delegateElement.delegate( selector, eventName, handlerProxy );
delegateElement.on( eventName, selector, handlerProxy );
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need the if and two separate calls?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup

@scottgonzalez
Copy link
Member

This makes me happy and sad. But the sad part is because of bad design in jQuery. This is good to land. Once the dependencies are updated, I'd like the custom build to become the default version that's used in tests.

@arschmitz arschmitz closed this in 6fd9fc9 May 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants