This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +15
-11
lines changed
1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -250,9 +250,10 @@ function qFactory(nextTick, exceptionHandler) {
250
250
}
251
251
252
252
/**
253
- * @ngdoc
253
+ * @ngdoc method
254
254
* @name ng.$q#defer
255
- * @methodOf ng.$q
255
+ * @kind function
256
+ *
256
257
* @description
257
258
* Creates a `Deferred` object which represents a task which will finish in the future.
258
259
*
@@ -402,9 +403,10 @@ function qFactory(nextTick, exceptionHandler) {
402
403
} ;
403
404
404
405
/**
405
- * @ngdoc
406
- * @name ng.$q#reject
407
- * @methodOf ng.$q
406
+ * @ngdoc method
407
+ * @name $q#reject
408
+ * @kind function
409
+ *
408
410
* @description
409
411
* Creates a promise that is resolved as rejected with the specified `reason`. This api should be
410
412
* used to forward rejection in a chain of promises. If you are dealing with the last promise in
@@ -471,9 +473,10 @@ function qFactory(nextTick, exceptionHandler) {
471
473
} ;
472
474
473
475
/**
474
- * @ngdoc
475
- * @name ng.$q#when
476
- * @methodOf ng.$q
476
+ * @ngdoc method
477
+ * @name $q#when
478
+ * @kind function
479
+ *
477
480
* @description
478
481
* Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise.
479
482
* This is useful when you are dealing with an object that might or might not be a promise, or if
@@ -491,9 +494,10 @@ function qFactory(nextTick, exceptionHandler) {
491
494
} ;
492
495
493
496
/**
494
- * @ngdoc
495
- * @name ng.$q#all
496
- * @methodOf ng.$q
497
+ * @ngdoc method
498
+ * @name $q#all
499
+ * @kind function
500
+ *
497
501
* @description
498
502
* Combines multiple promises into a single promise that is resolved when all of the input
499
503
* promises are resolved.
You can’t perform that action at this time.
0 commit comments