Skip to content

Commit d8a95a9

Browse files
zdlopezpetebacondarwin
authored andcommitted
docs(angular.identity): add @param and @returns tags
Closes angular#10457
1 parent 8802d51 commit d8a95a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Angular.js

+2
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,8 @@ noop.$inject = [];
403403
return (transformationFn || angular.identity)(value);
404404
};
405405
```
406+
* @param {*} value to be returned.
407+
* @returns {*} the value passed in.
406408
*/
407409
function identity($) {return $;}
408410
identity.$inject = [];

0 commit comments

Comments
 (0)