Skip to content

Releases: canjs/can-simple-observable

v2.0.4

06 Apr 15:50
Compare
Choose a tag to compare

Name resolver functions 14b0d93

activate without having to temporarily bind

06 Mar 23:02
Compare
Choose a tag to compare

Updated docs and added cycle detection

01 Nov 17:49
Compare
Choose a tag to compare
  • Add a cycle detection script to test process #4
  • Update docs with new @parent & @collection #8

v1.0.1...v1.0.2

Adding to can-namespace

26 Sep 14:50
Compare
Choose a tag to compare

Initial Release

26 Sep 14:52
Compare
Choose a tag to compare
 var obs = observable('one');

 canReflect.getValue(obs); // -> "one"

 canReflect.setValue(obs, 'two');
 canReflect.getValue(obs); // -> "two"

 function handler(newValue) {
   // -> "three"
 };
 canReflect.onValue(obs, handler);
 canReflect.setValue(obs, 'three');

 canReflect.offValue(obs, handler);