From bbaf9a287022a9aa6675e4aab9894fe5bd041ad7 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 16 May 2012 22:20:35 -0700 Subject: fix(docs): accept return in addition to returns documentation used @return but parser expected @returns, which made the generated documentation incomplete. --- src/auto/injector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auto') diff --git a/src/auto/injector.js b/src/auto/injector.js index 1a1fcc27..250f05c5 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -135,7 +135,7 @@ function inferInjectionArgs(fn) { * @param {Object=} self The `this` for the invoked method. * @param {Object=} locals Optional object. If preset then any argument names are read from this object first, before * the `$injector` is consulted. - * @return the value returned by the invoked `fn` function. + * @returns {*} the value returned by the invoked `fn` function. */ /** @@ -149,7 +149,7 @@ function inferInjectionArgs(fn) { * @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. - * @return new instance of `Type`. + * @returns {Object} new instance of `Type`. */ -- cgit v1.2.3