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

chore(select): fix migrate warning for jQuery.fn.attr('selected') #4122

Closed
wants to merge 1 commit into from

Conversation

colincasey
Copy link
Contributor

Full listing of jQuery migrate warning can be found here - https://github.com/jquery/jquery-migrate/blob/master/warnings.md

Closes #4107

@mary-poppins
Copy link

Thanks for the PR!

  • Contributor signed CLA now or in the past
    • If you just signed, leave a comment here with your real name
  • PR's commit messages follow the commit message format

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@rodyhaddad
Copy link
Contributor

.prop got introduced in jQuery v1.6, we support jQuery v1.7.1, and jqLite supports .prop.

So this LGTM

petebacondarwin pushed a commit to petebacondarwin/angular.js that referenced this pull request Jun 14, 2014
jQuery suggests using `prop` rather than `attr` to modify the `select` property of an element.
You can see the full list of migration warnings for jQuery:
https://github.com/jquery/jquery-migrate/blob/master/warnings.md

Closes angular#4107
Closes angular#4122
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.

jQuery migrate 1.1.0 shows warnings with angularjs 1.1.5 in various places
6 participants