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

Commit 4e65635

Browse files
committed
doc($rootScope): fix $digest example
1 parent aa02534 commit 4e65635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/rootScope.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function $RootScopeProvider(){
347347
scope.counter = 0;
348348
349349
expect(scope.counter).toEqual(0);
350-
scope.$watch('name', function(scope, newValue, oldValue) {
350+
scope.$watch('name', function(newValue, oldValue) {
351351
counter = counter + 1;
352352
});
353353
expect(scope.counter).toEqual(0);

0 commit comments

Comments
 (0)