MCPcopy
hub / github.com/angular-ui/ui-grid / anonFn

Function anonFn

lib/test/angular/1.8.0/angular.js:4347–4355  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

4345}
4346
4347function anonFn(fn) {
4348 // For anonymous functions, showing at the very least the function signature can help in
4349 // debugging.
4350 var args = extractArgs(fn);
4351 if (args) {
4352 return 'function(' + (args[1] || '').replace(/[\s\r\n]+/, ' ') + ')';
4353 }
4354 return 'fn';
4355}
4356
4357function annotate(fn, strictDi, name) {
4358 var $inject,

Callers 1

annotateFunction · 0.70

Calls 1

extractArgsFunction · 0.70

Tested by

no test coverage detected