diff options
author | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-11-04 21:43:13 +0100 |
---|---|---|
committer | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-11-04 21:43:13 +0100 |
commit | e7b915e7516b43adb90871e1657ca91c6103ad3d (patch) | |
tree | aab854fe3c918175f635392f0b2668c6627c3cbd | |
parent | 14e43e67fac3d32b09764966c9f8f809aca385c6 (diff) | |
download | gwtquery-e7b915e7516b43adb90871e1657ca91c6103ad3d.tar.gz gwtquery-e7b915e7516b43adb90871e1657ca91c6103ad3d.zip |
Remove useless method from Effects plugin
-rwxr-xr-x | gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java index 44deecb5..d8b07659 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java @@ -308,7 +308,6 @@ public class Effects extends QueuePlugin<Effects> { public Effects clip(final ClipAnimation.Action a, final ClipAnimation.Corner c, final ClipAnimation.Direction d, final int duration, final Function... f) { - for (Element e : elements()) { queueAnimation(e, new ClipAnimation(e, a, c, d, f), duration); } @@ -575,27 +574,6 @@ public class Effects extends QueuePlugin<Effects> { return animate("height: 'hide'", millisecs, f); } - - /** - * Toggle displaying each of the set of matched elements. - * - * @param showOrHide A Boolean indicating whether to show or hide the - * elements. - */ - // maybe move this function in GQuery class directly ? - public Effects toggle(boolean showOrHide) { - for (Element element : elements()) { - GQuery $element = $(element); - if (!showOrHide) { - $element.hide(); - } else { - $element.show(); - } - - } - return this; - } - /** * Toggle displaying each of the set of matched elements by animating the * width, height, and opacity of the matched elements simultaneously. When |