Watch.JS icon indicating copy to clipboard operation
Watch.JS copied to clipboard

When I update a attribute I get set value as action

Open marcwitteveen opened this issue 12 years ago • 1 comments

When I update a attribute I get set value as action, would n't it be more sense to have this set as action called update to have a difference between adding a new attribute and updating it?

marcwitteveen avatar Jan 10 '13 13:01 marcwitteveen

WatchJS 1.3:

when you change an attribute the action is "set"

when you invoke an array method the method name will be the action

when you add or remove an attribute the action is "differentattr" and you can check by other parameter wich ones was added and removed

Still confusing?

melanke avatar Feb 27 '13 17:02 melanke