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

Commit 5548328

Browse files
vinvojtajina
authored andcommitted
docs($q): fix a few typos
1 parent 7c6b1e0 commit 5548328

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ng/q.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
* return result + 1;
103103
* });
104104
*
105-
* // promiseB will be resolved immediately after promiseA is resolved and it's value will be
105+
* // promiseB will be resolved immediately after promiseA is resolved and its value will be
106106
* // the result of promiseA incremented by 1
107107
* </pre>
108108
*
@@ -127,7 +127,7 @@
127127
* # Testing
128128
*
129129
* <pre>
130-
* it('should simulate promise', inject(function($q, $rootSCope) {
130+
* it('should simulate promise', inject(function($q, $rootScope) {
131131
* var deferred = $q.defer();
132132
* var promise = deferred.promise;
133133
* var resolvedValue;
@@ -312,7 +312,7 @@ function qFactory(nextTick, exceptionHandler) {
312312
* @methodOf ng.$q
313313
* @description
314314
* Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
315-
* This is useful when you are dealing with on object that might or might not be a promise, or if
315+
* This is useful when you are dealing with an object that might or might not be a promise, or if
316316
* the promise comes from a source that can't be trusted.
317317
*
318318
* @param {*} value Value or a promise

0 commit comments

Comments
 (0)