Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e3bf1ed

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

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
@@ -401,6 +401,8 @@ noop.$inject = [];
401401
return (transformationFn || angular.identity)(value);
402402
};
403403
```
404+
* @param {*} value to be returned.
405+
* @returns {*} the value passed in.
404406
*/
405407
function identity($) {return $;}
406408
identity.$inject = [];

0 commit comments

Comments
 (0)