From bf861dd119c6053a280e1b50a20a74164deccad6 Mon Sep 17 00:00:00 2001 From: Rafael Weinstein Date: Thu, 12 Dec 2013 18:57:22 -0800 Subject: [PATCH] add back observed_ as third arg to CompoundObserer callback (temporary) --- src/observe.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/observe.js b/src/observe.js index a522c4f..c555570 100644 --- a/src/observe.js +++ b/src/observe.js @@ -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; },