mirror of
https://github.com/jupyter/notebook.git
synced 2025-02-11 12:30:51 +08:00
Merge pull request #6549 from SylvainCorlay/some_update
on_atomic_change -> on_some_change
This commit is contained in:
commit
cbb63a2166
@ -269,8 +269,8 @@ define(["widgets/js/manager",
|
||||
}
|
||||
},
|
||||
|
||||
on_atomic_change: function(keys, callback, context) {
|
||||
// on__atomic_change(["key1", "key2"], foo, context) differs from
|
||||
on_some_change: function(keys, callback, context) {
|
||||
// on_some_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