Fix leakages in Kinetic.Transition

ClojureScript advanced mode compilation chokes on these since it
mangles all function names.
This commit is contained in:
Aku Kotkavuo
2013-03-27 17:38:29 +02:00
committed by Aku Kotkavuo
parent 5340ced25d
commit 5b37e2cab4

View File

@@ -14,10 +14,10 @@
Kinetic.Transition = function(node, config) { Kinetic.Transition = function(node, config) {
var that = this, var that = this,
easing = config.easing || 'linear', easing = config.easing || 'linear',
easingFunc = Kinetic.Tweens[easing]; easingFunc = Kinetic.Tweens[easing],
duration = config.duration || 0, duration = config.duration || 0,
configVal = null, configVal = null,
lastTweenIndex = 0; lastTweenIndex = 0,
obj = {}, obj = {},
x = 0, x = 0,
y = 0; y = 0;