diff options
| author | Misko Hevery | 2012-05-16 22:20:35 -0700 |
|---|---|---|
| committer | Misko Hevery | 2012-05-24 13:48:42 -0700 |
| commit | bbaf9a287022a9aa6675e4aab9894fe5bd041ad7 (patch) | |
| tree | e9fb5f8a63f0879be0cb976b1fcb5cad46f99f05 /src/auto/injector.js | |
| parent | 7e70463da129dc7a668f234403bc530f562b9999 (diff) | |
| download | angular.js-bbaf9a287022a9aa6675e4aab9894fe5bd041ad7.tar.bz2 | |
fix(docs): accept return in addition to returns
documentation used @return but parser expected
@returns, which made the generated documentation
incomplete.
Diffstat (limited to 'src/auto/injector.js')
| -rw-r--r-- | src/auto/injector.js | 4 |
1 files changed, 2 insertions, 2 deletions
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`. */ |
