This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 102
102
* return result + 1;
103
103
* });
104
104
*
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
106
106
* // the result of promiseA incremented by 1
107
107
* </pre>
108
108
*
127
127
* # Testing
128
128
*
129
129
* <pre>
130
- * it('should simulate promise', inject(function($q, $rootSCope ) {
130
+ * it('should simulate promise', inject(function($q, $rootScope ) {
131
131
* var deferred = $q.defer();
132
132
* var promise = deferred.promise;
133
133
* var resolvedValue;
@@ -312,7 +312,7 @@ function qFactory(nextTick, exceptionHandler) {
312
312
* @methodOf ng.$q
313
313
* @description
314
314
* 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
316
316
* the promise comes from a source that can't be trusted.
317
317
*
318
318
* @param {* } value Value or a promise
You can’t perform that action at this time.
0 commit comments