Skip to content

Conversation

@dmethvin
Copy link
Member

Fixes #2193

Unit test changes some uses of .show() and .hide() to .css( "display", ... ),
there was already an implicit assumption in several of the existing tests.

Fixes #2193

Unit test changes some uses of .show() and .hide() to .css( "display", ... ),
there was already an implicit assumption in several of the existing tests.
@mgol
Copy link
Member

mgol commented Oct 14, 2015

LGTM

Copy link
Member

Choose a reason for hiding this comment

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

While showHide does depend on effects, I don't think removing showHide should also remove effects.

Copy link
Member

Choose a reason for hiding this comment

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

However, removing effects should remove showHide: "effects": [ "css/showHide" ],

Copy link
Member Author

Choose a reason for hiding this comment

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

If you don't remove effects, showHide will be pulled back in I think?

On the opposite side, you can remove effects but still want to use the non-animated .show() and .hide() methods so I don't think it should be force-removed.

Copy link
Member

Choose a reason for hiding this comment

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

You're right. I was only thinking of animations pertaining to .show() and .hide(), not all animations that need to show and hide elements.

@zqw
Copy link

zqw commented Oct 18, 2015

good

@dmethvin dmethvin closed this in 67d7a2e Oct 18, 2015
@timmywil timmywil deleted the 2193-show-hide branch October 18, 2015 16:31
dmethvin added a commit that referenced this pull request Oct 25, 2015
Unit test changes some uses of .show() and .hide() to .css( "display", ... ),
there was already an implicit assumption in several of the existing tests.

Fixes gh-2193
Close gh-2648

(cherry picked from commit 67d7a2e)

Conflicts:
	Gruntfile.js
	src/css.js
	src/css/showHide.js
	test/unit/css.js
@markelog markelog mentioned this pull request Nov 16, 2015
@markelog markelog mentioned this pull request Dec 22, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 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.

6 participants