mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
docs(angular.identity): fix missing 'angular' in identity function
This commit is contained in:
committed by
Pete Bacon Darwin
parent
62d552ffe2
commit
403008816c
@@ -276,7 +276,7 @@ noop.$inject = [];
|
||||
*
|
||||
<pre>
|
||||
function transformer(transformationFn, value) {
|
||||
return (transformationFn || identity)(value);
|
||||
return (transformationFn || angular.identity)(value);
|
||||
};
|
||||
</pre>
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user