Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
add back observed_ as third arg to CompoundObserer callback (temporary)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelw committed Dec 13, 2013
1 parent 717d642 commit bf861dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/observe.js
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,9 @@
if (!oldValues)
return;

this.reportArgs_ = [this.value_, oldValues];
// TODO(rafaelw): Having observed_ as the third callback arg here is
// pretty lame API. Fix.
this.reportArgs_ = [this.value_, oldValues, this.observed_];
return true;
},

Expand Down

0 comments on commit bf861dd

Please sign in to comment.