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

Function addLinkFns

lib/test/angular/1.6.7/angular.js:9834–9853  ·  view source on GitHub ↗
(pre, post, attrStart, attrEnd)

Source from the content-addressed store, hash-verified

9832 ////////////////////
9833
9834 function addLinkFns(pre, post, attrStart, attrEnd) {
9835 if (pre) {
9836 if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);
9837 pre.require = directive.require;
9838 pre.directiveName = directiveName;
9839 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
9840 pre = cloneAndAnnotateFn(pre, {isolateScope: true});
9841 }
9842 preLinkFns.push(pre);
9843 }
9844 if (post) {
9845 if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);
9846 post.require = directive.require;
9847 post.directiveName = directiveName;
9848 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
9849 post = cloneAndAnnotateFn(post, {isolateScope: true});
9850 }
9851 postLinkFns.push(post);
9852 }
9853 }
9854
9855 function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) {
9856 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