]> source.dussan.org Git - gwtquery.git/commitdiff
with should return itself for chainning
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Fri, 1 Nov 2013 12:57:46 +0000 (13:57 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Fri, 1 Nov 2013 12:57:46 +0000 (13:57 +0100)
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/PropertiesAnimation.java

index 17f77ccf8166b5a5e561b6f28dd03430c1b5d481..ba60a142872c70441ee8540246f8eb4aa44308ec 100755 (executable)
@@ -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);