From 0d30f11c1f03de893431159ef613aa94c304dfe5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20Carrasco=20Mo=C3=B1ino?= Date: Tue, 10 Dec 2013 20:49:05 +0100 Subject: [PATCH] For some reason compiler does not likes $this --- .../gwt/query/client/plugins/effects/Transitions.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java index a0f021f6..57403501 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java @@ -332,17 +332,17 @@ public class Transitions extends GQuery { newTransitionValue += (newTransitionValue.isEmpty() ? "" : ", ") + s + " " + attribs; } - final Transitions $this = $(this).as(Transitions); + final Transitions thisTrans = $(this).as(Transitions); // Configure animation using transition property - $this.css(transition, newTransitionValue); + thisTrans.css(transition, newTransitionValue); // Set all css properties for this transition using the css method in this class - $this.css(cssProps); + thisTrans.css(cssProps); // TODO: Use transitionEnd events once GQuery supports non-bit events // last time I tried, setting 'transitionEnd' made custom events fail (slideEnter) new Timer() { public void run() { - $this.css(transition, oldTransitionValue).each(funcs).dequeue(); + thisTrans.css(transition, oldTransitionValue).each(funcs).dequeue(); } }.schedule(d + duration); } -- 2.39.5