aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVineet Kumar2013-02-11 19:05:29 -0500
committerVojta Jina2013-02-14 15:19:49 -0800
commit54a761905d0bc570cc35966aebfa77d42bbd4245 (patch)
tree70a3bc8712a8ea7798a9c308745f2032e37fc463
parentaa531d7bd18a6aec0b10f43ff261b0d1250a2ca4 (diff)
downloadangular.js-54a761905d0bc570cc35966aebfa77d42bbd4245.tar.bz2
docs($q): fix a few typos
-rw-r--r--src/ng/q.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ng/q.js b/src/ng/q.js
index ef856dca..f3bd1d6e 100644
--- a/src/ng/q.js
+++ b/src/ng/q.js
@@ -102,7 +102,7 @@
* return result + 1;
* });
*
- * // promiseB will be resolved immediately after promiseA is resolved and it's value will be
+ * // promiseB will be resolved immediately after promiseA is resolved and its value will be
* // the result of promiseA incremented by 1
* </pre>
*
@@ -127,7 +127,7 @@
* # Testing
*
* <pre>
- * it('should simulate promise', inject(function($q, $rootSCope) {
+ * it('should simulate promise', inject(function($q, $rootScope) {
* var deferred = $q.defer();
* var promise = deferred.promise;
* var resolvedValue;
@@ -312,7 +312,7 @@ function qFactory(nextTick, exceptionHandler) {
* @methodOf ng.$q
* @description
* Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
- * This is useful when you are dealing with on object that might or might not be a promise, or if
+ * This is useful when you are dealing with an object that might or might not be a promise, or if
* the promise comes from a source that can't be trusted.
*
* @param {*} value Value or a promise