diff options
| author | Peter Bacon Darwin | 2014-02-26 11:46:02 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-26 11:47:22 +0000 |
| commit | 332e935048d161764046b43fe6599e1db2afc3b6 (patch) | |
| tree | e560b374b78b75e9bf27d67dbf8d5f2de6598f2d /src/auto | |
| parent | 30c8207e0f2e10a6f02a0c2ba16825ad27092108 (diff) | |
| download | angular.js-332e935048d161764046b43fe6599e1db2afc3b6.tar.bz2 | |
docs(*): fix jsdoc type expressions
These errors in the docs were preventing some parts of the docs from being
parsed.
Diffstat (limited to 'src/auto')
| -rw-r--r-- | src/auto/injector.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/auto/injector.js b/src/auto/injector.js index a4fa35e8..f71c7b30 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -168,7 +168,7 @@ function annotate(fn) { * @description * Invoke the method and supply the method arguments from the `$injector`. * - * @param {!function} fn The function to invoke. Function parameters are injected according to the + * @param {!Function} fn The function to invoke. Function parameters are injected according to the * {@link guide/di $inject Annotation} rules. * @param {Object=} self The `this` for the invoked method. * @param {Object=} locals Optional object. If preset then any argument names are read from this @@ -195,7 +195,7 @@ function annotate(fn) { * operator and supplies all of the arguments to the constructor function as specified by the * constructor annotation. * - * @param {function} Type Annotated constructor function. + * @param {Function} Type Annotated constructor function. * @param {Object=} locals Optional object. If preset then any argument names are read from this * object first, before the `$injector` is consulted. * @returns {Object} new instance of `Type`. @@ -275,7 +275,7 @@ function annotate(fn) { * ).toEqual(['$compile', '$rootScope']); * ``` * - * @param {function|Array.<string|Function>} fn Function for which dependent service names need to + * @param {Function|Array.<string|Function>} fn Function for which dependent service names need to * be retrieved as described above. * * @returns {Array.<string>} The names of the services which the function requires. |
