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

Commit 45c3565

Browse files
committed
chore(Scope): name the $watch deregistration function as
1 parent 02fcac5 commit 45c3565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ng/rootScope.js

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