mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-24 12:05:22 +08:00
rename to on_atomic_change
This commit is contained in:
parent
75cb63fba2
commit
769e7fa108
@ -266,8 +266,8 @@ define(["widgets/js/manager",
|
||||
}
|
||||
},
|
||||
|
||||
on_change: function(keys, callback, context) {
|
||||
// on_change(["key1", "key2"], foo, context) differs from
|
||||
on_atomic_change: function(keys, callback, context) {
|
||||
// on__atomic_change(["key1", "key2"], foo, context) differs from
|
||||
// on("change:key1 change:key2", foo, context).
|
||||
// If the widget attributes key1 and key2 are both modified,
|
||||
// the second form will result in foo being called twice
|
||||
|
Loading…
Reference in New Issue
Block a user