(pre, post, attrStart, attrEnd)
| 8097 | //////////////////// |
| 8098 | |
| 8099 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 8100 | if (pre) { |
| 8101 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 8102 | pre.require = directive.require; |
| 8103 | pre.directiveName = directiveName; |
| 8104 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 8105 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 8106 | } |
| 8107 | preLinkFns.push(pre); |
| 8108 | } |
| 8109 | if (post) { |
| 8110 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 8111 | post.require = directive.require; |
| 8112 | post.directiveName = directiveName; |
| 8113 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 8114 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 8115 | } |
| 8116 | postLinkFns.push(post); |
| 8117 | } |
| 8118 | } |
| 8119 | |
| 8120 | |
| 8121 | function getControllers(directiveName, require, $element, elementControllers) { |
no test coverage detected