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

Commit bf861dd

Browse files
committed
add back observed_ as third arg to CompoundObserer callback (temporary)
1 parent 717d642 commit bf861dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/observe.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,9 @@
857857
if (!oldValues)
858858
return;
859859

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

0 commit comments

Comments
 (0)