Fixed JS Hint errors

This commit is contained in:
ippo615
2013-07-11 19:47:33 -04:00
parent 1cbc3dd31c
commit 1d375fb711
5 changed files with 35 additions and 28 deletions

View File

@@ -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
*/
})();
})();