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

Commit a001a41

Browse files
jeffbcrosscaitp
authored andcommitted
fix(Scope): add deregisterNotifier to oneTimeLiteralWatch signature
A reverted commit removed deregisterNotifier from the arguments that would be passed to a watcherFn.
1 parent b3047b9 commit a001a41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/parse.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ function $ParseProvider() {
10541054
}, objectEquality, deregisterNotifier);
10551055
}
10561056

1057-
function oneTimeLiteralWatch(scope, listener, objectEquality, parsedExpression) {
1057+
function oneTimeLiteralWatch(scope, listener, objectEquality, deregisterNotifier, parsedExpression) {
10581058
var unwatch;
10591059
return unwatch = scope.$watch(function oneTimeWatch(scope) {
10601060
return parsedExpression(scope);

0 commit comments

Comments
 (0)