Fix variable leakage

This commit is contained in:
Aku Kotkavuo
2013-05-17 16:56:56 +03:00
parent 70f5c405a9
commit b3e76a4e23

View File

@@ -1117,7 +1117,7 @@
constructor.prototype[baseMethod] = function() { constructor.prototype[baseMethod] = function() {
var pos = Kinetic.Util._getXY([].slice.call(arguments)), var pos = Kinetic.Util._getXY([].slice.call(arguments)),
oldVal = this.attrs[attr]; oldVal = this.attrs[attr],
x = 0, x = 0,
y = 0; y = 0;