mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:27:58 +08:00
Fix leakages in Kinetic.Transition
ClojureScript advanced mode compilation chokes on these since it mangles all function names.
This commit is contained in:

committed by
Aku Kotkavuo

parent
5340ced25d
commit
5b37e2cab4
@@ -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;
|
||||||
|
Reference in New Issue
Block a user