docs(angular.identity): add @param and @returns tags

Closes #10457
This commit is contained in:
Zachary Lopez
2014-12-14 21:37:06 -08:00
committed by Peter Bacon Darwin
parent 8802d5198a
commit d8a95a9d02
+2
View File
@@ -403,6 +403,8 @@ noop.$inject = [];
return (transformationFn || angular.identity)(value);
};
```
* @param {*} value to be returned.
* @returns {*} the value passed in.
*/
function identity($) {return $;}
identity.$inject = [];