MCPcopy
hub / github.com/angular-ui/ui-router / cloneAndAnnotateFn

Function cloneAndAnnotateFn

test/angular/1.4/angular.js:9092–9094  ·  view source on GitHub ↗
(fn, annotation)

Source from the content-addressed store, hash-verified

9090
9091
9092 function cloneAndAnnotateFn(fn, annotation) {
9093 return extend(function() { return fn.apply(null, arguments); }, fn, annotation);
9094 }
9095
9096
9097 function invokeLinkFn(linkFn, scope, $element, attrs, controllers, transcludeFn) {

Callers 1

addLinkFnsFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected