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

Function addLinkFns

lib/test/angular/1.8.0/angular.js:10509–10528  ·  view source on GitHub ↗
(pre, post, attrStart, attrEnd)

Source from the content-addressed store, hash-verified

10507 ////////////////////
10508
10509 function addLinkFns(pre, post, attrStart, attrEnd) {
10510 if (pre) {
10511 if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);
10512 pre.require = directive.require;
10513 pre.directiveName = directiveName;
10514 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
10515 pre = cloneAndAnnotateFn(pre, {isolateScope: true});
10516 }
10517 preLinkFns.push(pre);
10518 }
10519 if (post) {
10520 if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);
10521 post.require = directive.require;
10522 post.directiveName = directiveName;
10523 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
10524 post = cloneAndAnnotateFn(post, {isolateScope: true});
10525 }
10526 postLinkFns.push(post);
10527 }
10528 }
10529
10530 function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) {
10531 var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element,

Callers 1

applyDirectivesToNodeFunction · 0.70

Calls 2

cloneAndAnnotateFnFunction · 0.70

Tested by

no test coverage detected