]> source.dussan.org Git - gwtquery.git/commitdiff
For some reason compiler does not likes $this
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Tue, 10 Dec 2013 19:49:05 +0000 (20:49 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Tue, 10 Dec 2013 19:49:05 +0000 (20:49 +0100)
gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java

index a0f021f615ff0c95cf0f26f34934dbc144355b3a..5740350135eeabc80d00b7ee55d1eda28abf2c09 100644 (file)
@@ -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);
       }