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

Commit b04d3a8

Browse files
committed
chore(Scope): name the $watch deregistration function as
1 parent 7839330 commit b04d3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/rootScope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ function $RootScopeProvider(){
348348
// the while loop reads in reverse order.
349349
array.unshift(watcher);
350350

351-
return function() {
351+
return function deregisterWatch() {
352352
arrayRemove(array, watcher);
353353
lastDirtyWatch = null;
354354
};

0 commit comments

Comments
 (0)