chore(Scope): name the $watch deregistration function as
This commit is contained in:
+1
-1
@@ -348,7 +348,7 @@ function $RootScopeProvider(){
|
||||
// the while loop reads in reverse order.
|
||||
array.unshift(watcher);
|
||||
|
||||
return function() {
|
||||
return function deregisterWatch() {
|
||||
arrayRemove(array, watcher);
|
||||
lastDirtyWatch = null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user