From ed0b7d05cd1b1161fb82bac9fa8415a5a298069f Mon Sep 17 00:00:00 2001 From: Marcin Wosinek Date: Tue, 10 Feb 2015 11:27:45 +0000 Subject: [PATCH] refactor(interpolate): remove redundant $watchGroup param --- src/ng/interpolate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ng/interpolate.js b/src/ng/interpolate.js index 9b2651b63e17..b6f38ae9f05c 100644 --- a/src/ng/interpolate.js +++ b/src/ng/interpolate.js @@ -286,7 +286,7 @@ function $InterpolateProvider() { // all of these properties are undocumented for now exp: text, //just for compatibility with regular watchers created via $watch expressions: expressions, - $$watchDelegate: function(scope, listener, objectEquality) { + $$watchDelegate: function(scope, listener) { var lastValue; return scope.$watchGroup(parseFns, function interpolateFnWatcher(values, oldValues) { var currValue = compute(values); @@ -294,7 +294,7 @@ function $InterpolateProvider() { listener.call(this, currValue, values !== oldValues ? lastValue : currValue, scope); } lastValue = currValue; - }, objectEquality); + }); } }); }