From: Manuel Carrasco MoƱino Date: Fri, 1 Nov 2013 12:57:46 +0000 (+0100) Subject: with should return itself for chainning X-Git-Tag: release-1.4.0~36^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f32bf40d23957462870e65e528bcde0cba6305fb;p=gwtquery.git with should return itself for chainning --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java index 17f77ccf..ba60a142 100755 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java @@ -118,8 +118,9 @@ public class PropertiesAnimation extends GQAnimation { EasingCurve(double x1, double y1, double x2, double y2) { with(x1, y1, x2, y2); } - public void with(double x1, double y1, double x2, double y2) { + public Easing with(double x1, double y1, double x2, double y2) { c = new Bezier(x1, y1, x2, y2); + return this; } public double interpolate(double progress) { return c.f(progress);