Merge pull request #6549 from SylvainCorlay/some_update

on_atomic_change -> on_some_change
This commit is contained in:
Jonathan Frederic 2014-09-26 09:48:49 -07:00
commit cbb63a2166

View File

@ -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