aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2013-11-04 21:43:13 +0100
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>2013-11-04 21:43:13 +0100
commite7b915e7516b43adb90871e1657ca91c6103ad3d (patch)
treeaab854fe3c918175f635392f0b2668c6627c3cbd
parent14e43e67fac3d32b09764966c9f8f809aca385c6 (diff)
downloadgwtquery-e7b915e7516b43adb90871e1657ca91c6103ad3d.tar.gz
gwtquery-e7b915e7516b43adb90871e1657ca91c6103ad3d.zip
Remove useless method from Effects plugin
-rwxr-xr-xgwtquery-core/src/main/java/com/google/gwt/query/client/plugins/Effects.java22
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