From 332e935048d161764046b43fe6599e1db2afc3b6 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Wed, 26 Feb 2014 11:46:02 +0000 Subject: docs(*): fix jsdoc type expressions These errors in the docs were preventing some parts of the docs from being parsed. --- src/auto/injector.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/auto') 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.} fn Function for which dependent service names need to + * @param {Function|Array.} fn Function for which dependent service names need to * be retrieved as described above. * * @returns {Array.} The names of the services which the function requires. -- cgit v1.2.3