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

Commit ef26819

Browse files
mernenmhevery
authored andcommitted
fix($rootScope): minor typo fixes
1 parent 12ba6ce commit ef26819

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ng/rootScope.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ function $RootScopeProvider(){
810810

811811
/**
812812
* function used as an initial value for watchers.
813-
* because it's uniqueue we can easily tell it apart from other values
813+
* because it's unique we can easily tell it apart from other values
814814
*/
815815
function initWatchVal() {}
816816
}];

test/ng/rootScopeSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ describe('Scope', function() {
216216
});
217217

218218

219-
it('should prevent infinite recursion and print print watcher function name or body',
219+
it('should prevent infinite recursion and print watcher function name or body',
220220
inject(function($rootScope) {
221221
$rootScope.$watch(function watcherA() {return $rootScope.a;}, function() {$rootScope.b++;});
222222
$rootScope.$watch(function() {return $rootScope.b;}, function() {$rootScope.a++;});
@@ -328,7 +328,7 @@ describe('Scope', function() {
328328
}));
329329

330330

331-
it('should always call the watchr with newVal and oldVal equal on the first run',
331+
it('should always call the watcher with newVal and oldVal equal on the first run',
332332
inject(function($rootScope) {
333333
var log = [];
334334
function logger(scope, newVal, oldVal) {

0 commit comments

Comments
 (0)