Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7cfa79e

Browse files
refactor(interpolate): remove redundant $watchGroup param
Closes #11021
1 parent f22e1fc commit 7cfa79e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/interpolate.js

+2-2
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)