diff options
| author | Daniel Luz | 2012-11-04 19:26:58 -0200 |
|---|---|---|
| committer | Misko Hevery | 2013-02-14 14:43:32 -0800 |
| commit | d7e9ae121531f8ad38efaa9c7a20f4b9d70ce15b (patch) | |
| tree | d60ef292c16962645bfa3e26e85b098641bfc410 | |
| parent | 6cf9ede88e7634ae141acc7a37cfbe9460d22e1d (diff) | |
| download | angular.js-d7e9ae121531f8ad38efaa9c7a20f4b9d70ce15b.tar.bz2 | |
fix($rootScope): minor typo fixes
| -rw-r--r-- | src/ng/rootScope.js | 2 | ||||
| -rw-r--r-- | test/ng/rootScopeSpec.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js index 904490c2..de1485b3 100644 --- a/src/ng/rootScope.js +++ b/src/ng/rootScope.js @@ -810,7 +810,7 @@ function $RootScopeProvider(){ /** * function used as an initial value for watchers. - * because it's uniqueue we can easily tell it apart from other values + * because it's unique we can easily tell it apart from other values */ function initWatchVal() {} }]; diff --git a/test/ng/rootScopeSpec.js b/test/ng/rootScopeSpec.js index 3f6f795a..8031968a 100644 --- a/test/ng/rootScopeSpec.js +++ b/test/ng/rootScopeSpec.js @@ -216,7 +216,7 @@ describe('Scope', function() { }); - it('should prevent infinite recursion and print print watcher function name or body', + it('should prevent infinite recursion and print watcher function name or body', inject(function($rootScope) { $rootScope.$watch(function watcherA() {return $rootScope.a;}, function() {$rootScope.b++;}); $rootScope.$watch(function() {return $rootScope.b;}, function() {$rootScope.a++;}); @@ -328,7 +328,7 @@ describe('Scope', function() { })); - it('should always call the watchr with newVal and oldVal equal on the first run', + it('should always call the watcher with newVal and oldVal equal on the first run', inject(function($rootScope) { var log = []; function logger(scope, newVal, oldVal) { |
