omniscientjs / immstruct

Immutable data structures with history for top-to-bottom properties in component based libraries like React. Based on Immutable.js
374 stars 21 forks source link

observers under root reference cursors aren't being called #79

Closed dashed closed 9 years ago

dashed commented 9 years ago
// listener wasn't being called at all
structure.reference([]).observe(listener);

structure.cursor(path).update(updater);
dashed commented 9 years ago

this needs a test

mikaelbr commented 9 years ago

Did you have a specific test in mind for this?