mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-11 10:59:24 +08:00
chore(Scope): name the $watch deregistration function as
This commit is contained in:
@@ -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