|author||Nate Bosch <email@example.com>||Thu Nov 17 10:35:03 2016 -0800|
|committer||GitHub <firstname.lastname@example.org>||Thu Nov 17 10:35:03 2016 -0800|
Add `spy` constructor to ObservableMap (#4) Sometimes it's useful to observe changes on top of a Map implementation which has different behavior from one of the built in map types. - Add a test calling the 'spy' constructor Most functionality is already tested. Make sure that calling the 'spy' constructor delegates to the underlying map implementation.
Support for detecting and being notified when an object is mutated.
There are two general ways to detect changes:
Observable.changesand be notified when an object changes
Differ.diffto determine changes between two objects