Skip to content

4.0.3

Compare
Choose a tag to compare
@m-mujica m-mujica released this 28 Feb 18:10
· 31 commits to master since this release

Fixes an issue with canReflect.onValue

// oldVal was passed to the change event callback as expected
compute.on("change", function(newVal, oldVall) {
   // oldVal was being set correctly here
});

// but it was always undefined when using canReflect.onValue
canReflect.onValue(compute, function(newVal, oldVal) {
  // oldVal always `undefined`
});

#129