Skip to content

Conversation

@gibson042
Copy link
Member

Fixes gh-2863

@markelog
Copy link
Member

markelog commented Apr 4, 2016

Do i understand this correctly, we didn't have any tests for jQuery#fadeTo, or jQuery#animation for hidden elems?

elem = el || elem;
return jQuery.css( elem, "display" ) === "none" ||
!jQuery.contains( elem.ownerDocument, elem );
return elem.style.display === "none" ||
Copy link
Member

Choose a reason for hiding this comment

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

I would add a bunch of comments which would explain every line, logic is pretty bizarre for unprepared eyes

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. Fixed.

@gibson042 gibson042 closed this in 755e7cc Apr 11, 2016
@gibson042 gibson042 modified the milestone: 3.0.0 Apr 11, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants