MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / addLinkFns

Function addLinkFns

lib/test/angular/1.7.0/angular.js:9933–9952  ·  view source on GitHub ↗
(pre, post, attrStart, attrEnd)

Source from the content-addressed store, hash-verified

9931 ////////////////////
9932
9933 function addLinkFns(pre, post, attrStart, attrEnd) {
9934 if (pre) {
9935 if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);
9936 pre.require = directive.require;
9937 pre.directiveName = directiveName;
9938 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
9939 pre = cloneAndAnnotateFn(pre, {isolateScope: true});
9940 }
9941 preLinkFns.push(pre);
9942 }
9943 if (post) {
9944 if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);
9945 post.require = directive.require;
9946 post.directiveName = directiveName;
9947 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
9948 post = cloneAndAnnotateFn(post, {isolateScope: true});
9949 }
9950 postLinkFns.push(post);
9951 }
9952 }
9953
9954 function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) {
9955 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