diff options
| author | Daniel Luz | 2012-11-04 19:26:58 -0200 | 
|---|---|---|
| committer | Misko Hevery | 2013-02-14 14:43:56 -0800 | 
| commit | ef268196b9eb322c0e449e454be9d001c371e37e (patch) | |
| tree | fbfa0eaf672ed43fae727ba05c6116f6fc334778 | |
| parent | 12ba6cec4fb79521101744e02a7e09f9fbb591c4 (diff) | |
| download | angular.js-ef268196b9eb322c0e449e454be9d001c371e37e.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 549517b6..b6a582bc 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 55fc41b1..49364888 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) { | 
