From b04d3a8ec6ea3d3e2f4f139394f97e6d1e894781 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 7 Apr 2014 16:07:14 -0700 Subject: [PATCH] chore(Scope): name the $watch deregistration function as --- src/ng/rootScope.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 1c0f331f..e7bdc414 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -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; };