MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / anonFn

Function anonFn

lib/test/angular/1.6.7/angular.js:4237–4245  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

4235}
4236
4237function anonFn(fn) {
4238 // For anonymous functions, showing at the very least the function signature can help in
4239 // debugging.
4240 var args = extractArgs(fn);
4241 if (args) {
4242 return 'function(' + (args[1] || '').replace(/[\s\r\n]+/, ' ') + ')';
4243 }
4244 return 'fn';
4245}
4246
4247function annotate(fn, strictDi, name) {
4248 var $inject,

Callers 1

annotateFunction · 0.70

Calls 1

extractArgsFunction · 0.70

Tested by

no test coverage detected