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

Commit

Permalink
doc($rootScope): fix $digest example
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed May 9, 2012
1 parent aa02534 commit 4e65635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/rootScope.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function $RootScopeProvider(){
scope.counter = 0;
expect(scope.counter).toEqual(0);
scope.$watch('name', function(scope, newValue, oldValue) {
scope.$watch('name', function(newValue, oldValue) {
counter = counter + 1;
});
expect(scope.counter).toEqual(0);
Expand Down

0 comments on commit 4e65635

Please sign in to comment.