##// END OF EJS Templates
rename to on_atomic_change
Sylvain Corlay -
Show More
@@ -266,8 +266,8 b' define(["widgets/js/manager",'
266 266 }
267 267 },
268 268
269 on_change: function(keys, callback, context) {
270 // on_change(["key1", "key2"], foo, context) differs from
269 on_atomic_change: function(keys, callback, context) {
270 // on__atomic_change(["key1", "key2"], foo, context) differs from
271 271 // on("change:key1 change:key2", foo, context).
272 272 // If the widget attributes key1 and key2 are both modified,
273 273 // the second form will result in foo being called twice
General Comments 0
You need to be logged in to leave comments. Login now