This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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 *
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
You can’t perform that action at this time.
0 commit comments