aboutsummaryrefslogtreecommitdiffstats
path: root/samples/src/main/java
diff options
context:
space:
mode:
authorManolo Carrasco <manolo@apache.org>2010-06-23 14:15:15 +0000
committerManolo Carrasco <manolo@apache.org>2010-06-23 14:15:15 +0000
commit94d71126ab0f2943953a83b10678687c248bbac8 (patch)
treec8a6a714c8eb0f4d4a33d373ad2d66e3950f30d3 /samples/src/main/java
parent1febf708e15612eddd18cb85f9d7d746306656bc (diff)
downloadgwtquery-94d71126ab0f2943953a83b10678687c248bbac8.tar.gz
gwtquery-94d71126ab0f2943953a83b10678687c248bbac8.zip
make GQueryQueue methods return the type of the plugin instead of itself
Diffstat (limited to 'samples/src/main/java')
-rw-r--r--samples/src/main/java/gwtquery/samples/client/GwtQueryImageZoom.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/src/main/java/gwtquery/samples/client/GwtQueryImageZoom.java b/samples/src/main/java/gwtquery/samples/client/GwtQueryImageZoom.java
index 84aafdf9..7b467979 100644
--- a/samples/src/main/java/gwtquery/samples/client/GwtQueryImageZoom.java
+++ b/samples/src/main/java/gwtquery/samples/client/GwtQueryImageZoom.java
@@ -18,12 +18,12 @@ public class GwtQueryImageZoom implements EntryPoint {
$("ul.thumb li").hover(new Function() {
public void f(Element e) {
$(e).css("z-index", "10").find("img").addClass("hover")
- .as(Effects.Effects).stop().as(Effects.Effects)
+ .as(Effects.Effects).stop()
.animate("marginTop: '-110px', marginLeft: '-110px', top: '50%', left: '50%', width: '174px', height: '174px', padding: '20px'", 200);
}} , new Function() {
public void f(Element e) {
$(e).css("z-index", "0").find("img").removeClass("hover")
- .as(Effects.Effects).stop().as(Effects.Effects)
+ .as(Effects.Effects).stop()
.animate("marginTop: '0', marginLeft: '0', top: '0%', left: '0%', width: '100px', height: '100px', padding: '5px'", 600);
}});