From 00ff72b23f29ea634a025429dc2d444925468004 Mon Sep 17 00:00:00 2001 From: Zachary Lopez Date: Sun, 14 Dec 2014 21:37:06 -0800 Subject: [PATCH] docs(angular.identity): Fixed ngdoc Added @param and @returns so identity documentation matches other function documentation. This fix is for consistency across the documentation. --- src/Angular.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Angular.js b/src/Angular.js index d998b0f4fb05..e102bcf45ee3 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -401,6 +401,8 @@ noop.$inject = []; return (transformationFn || angular.identity)(value); }; ``` + * @param {*} value to be returned. + * @returns {*} the value passed in. */ function identity($) {return $;} identity.$inject = [];