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

Function addLinkFns

lib/test/angular/1.4.3/angular.js:7960–7979  ·  view source on GitHub ↗
(pre, post, attrStart, attrEnd)

Source from the content-addressed store, hash-verified

7958 ////////////////////
7959
7960 function addLinkFns(pre, post, attrStart, attrEnd) {
7961 if (pre) {
7962 if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd);
7963 pre.require = directive.require;
7964 pre.directiveName = directiveName;
7965 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
7966 pre = cloneAndAnnotateFn(pre, {isolateScope: true});
7967 }
7968 preLinkFns.push(pre);
7969 }
7970 if (post) {
7971 if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd);
7972 post.require = directive.require;
7973 post.directiveName = directiveName;
7974 if (newIsolateScopeDirective === directive || directive.$$isolateScope) {
7975 post = cloneAndAnnotateFn(post, {isolateScope: true});
7976 }
7977 postLinkFns.push(post);
7978 }
7979 }
7980
7981
7982 function getControllers(directiveName, require, $element, elementControllers) {

Callers 1

applyDirectivesToNodeFunction · 0.70

Calls 2

cloneAndAnnotateFnFunction · 0.70

Tested by

no test coverage detected