mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 10:47:59 +08:00
Fix variable leakage
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user