diff options
author | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-12-10 20:49:05 +0100 |
---|---|---|
committer | Manuel Carrasco Moñino <manuel.carrasco.m@gmail.com> | 2013-12-10 20:49:05 +0100 |
commit | 0d30f11c1f03de893431159ef613aa94c304dfe5 (patch) | |
tree | f8c41cd1a23cb974a6b2eaf9566280e9e4101be2 | |
parent | d94f4dde77ed3d5a1c804be454d11627ebfc404b (diff) | |
download | gwtquery-0d30f11c1f03de893431159ef613aa94c304dfe5.tar.gz gwtquery-0d30f11c1f03de893431159ef613aa94c304dfe5.zip |
For some reason compiler does not likes $this
-rw-r--r-- | gwtquery-core/src/main/java/com/google/gwt/query/client/plugins/effects/Transitions.java | 8 |
1 files 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); } |