(fn)
| 3819 | } |
| 3820 | |
| 3821 | function anonFn(fn) { |
| 3822 | // For anonymous functions, showing at the very least the function signature can help in |
| 3823 | // debugging. |
| 3824 | var args = extractArgs(fn); |
| 3825 | if (args) { |
| 3826 | return 'function(' + (args[1] || '').replace(/[\s\r\n]+/, ' ') + ')'; |
| 3827 | } |
| 3828 | return 'fn'; |
| 3829 | } |
| 3830 | |
| 3831 | function annotate(fn, strictDi, name) { |
| 3832 | var $inject, |
no test coverage detected