Skip to content

Commit 8515959

Browse files
marcin-wosineknetman92
authored andcommitted
refactor(interpolate): remove redundant $watchGroup param
Closes angular#11021
1 parent 9f17dea commit 8515959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/interpolate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,15 @@ function $InterpolateProvider() {
286286
// all of these properties are undocumented for now
287287
exp: text, //just for compatibility with regular watchers created via $watch
288288
expressions: expressions,
289-
$$watchDelegate: function(scope, listener, objectEquality) {
289+
$$watchDelegate: function(scope, listener) {
290290
var lastValue;
291291
return scope.$watchGroup(parseFns, function interpolateFnWatcher(values, oldValues) {
292292
var currValue = compute(values);
293293
if (isFunction(listener)) {
294294
listener.call(this, currValue, values !== oldValues ? lastValue : currValue, scope);
295295
}
296296
lastValue = currValue;
297-
}, objectEquality);
297+
});
298298
}
299299
});
300300
}

0 commit comments

Comments
 (0)