MCPcopy Create free account
hub / github.com/angular-ui/ui-router / cloneAndAnnotateFn

Function cloneAndAnnotateFn

test/angular/1.6/angular.js:10675–10677  ·  view source on GitHub ↗
(fn, annotation)

Source from the content-addressed store, hash-verified

10673
10674
10675 function cloneAndAnnotateFn(fn, annotation) {
10676 return extend(function() { return fn.apply(null, arguments); }, fn, annotation);
10677 }
10678
10679
10680 function invokeLinkFn(linkFn, scope, $element, attrs, controllers, transcludeFn) {

Callers 1

addLinkFnsFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected