mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 04:36:47 +08:00
Fixed JS Hint errors
This commit is contained in:
@@ -90,11 +90,13 @@
|
||||
_addListeners: function(context) {
|
||||
var that = this,
|
||||
n;
|
||||
var func = function(){
|
||||
that._sync();
|
||||
};
|
||||
|
||||
// update text data for certain attr changes
|
||||
for(n = 0; n < attrChangeListLen; n++) {
|
||||
context.on(ATTR_CHANGE_LIST[n] + CHANGE_KINETIC, function() {
|
||||
that._sync();
|
||||
});
|
||||
context.on(ATTR_CHANGE_LIST[n] + CHANGE_KINETIC, func);
|
||||
}
|
||||
},
|
||||
getWidth: function() {
|
||||
@@ -292,4 +294,4 @@
|
||||
* @method
|
||||
* @memberof Kinetic.Tag.prototype
|
||||
*/
|
||||
})();
|
||||
})();
|
||||
|
Reference in New Issue
Block a user