aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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