(fn)
| 3980 | } |
| 3981 | |
| 3982 | function anonFn(fn) { |
| 3983 | // For anonymous functions, showing at the very least the function signature can help in |
| 3984 | // debugging. |
| 3985 | var args = extractArgs(fn); |
| 3986 | if (args) { |
| 3987 | return 'function(' + (args[1] || '').replace(/[\s\r\n]+/, ' ') + ')'; |
| 3988 | } |
| 3989 | return 'fn'; |
| 3990 | } |
| 3991 | |
| 3992 | function annotate(fn, strictDi, name) { |
| 3993 | var $inject, |
no test coverage detected