MCPcopy Create free account
hub / github.com/apache/struts-examples / anonFn

Function anonFn

rest-angular/src/main/webapp/js/lib/angular/angular.js:3821–3829  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

3819}
3820
3821function 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
3831function annotate(fn, strictDi, name) {
3832 var $inject,

Callers 1

annotateFunction · 0.70

Calls 1

extractArgsFunction · 0.70

Tested by

no test coverage detected