Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

tests(jQuery): test on both oldest & latest supported jQuery version (+ a minor jqLite behavior) #14228

Closed
wants to merge 3 commits into from

Conversation

mgol
Copy link
Member

@mgol mgol commented Mar 13, 2016

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Refactor.

What is the current behavior? (You can also link to an open issue here)

  1. The useCapture parameter is passed to add/removeEventListener, there are wrappers created for those methods.
  2. Tests are run only in the oldest supported jQuery version.

What is the new behavior (if this is a feature change)?

  1. A minor refactor in jqLite (removal of unnecessary add/removeEventListener wrappers, no longer passing the useCapture parameter).
  2. Running tests on both oldest & newest jQuery version used.

Does this PR introduce a breaking change?
No.

Please check if the PR fulfills these requirements

Other information:
None.

mgol added 3 commits March 13, 2016 23:20
The useCapture parameter defaults to false even in oldest of our supported
browsers; this is no longer needed. jQuery has removed it in 2.2 as well.
Code patching the change event in jQuery doesn't exist in jQuery 2 so this patch
hasn't been needed since Angular 1.3
@mgol mgol added this to the 1.5.x milestone Mar 13, 2016
@mgol mgol self-assigned this Mar 13, 2016
@mgol
Copy link
Member Author

mgol commented Mar 13, 2016

Closing in favor of #14229 (I pushed the branch to the wrong remote).

@mgol mgol closed this Mar 13, 2016
@mgol mgol deleted the jquery branch March 13, 2016 22:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants