(pre, post, attrStart, attrEnd)
| 7550 | //////////////////// |
| 7551 | |
| 7552 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 7553 | if (pre) { |
| 7554 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 7555 | pre.require = directive.require; |
| 7556 | pre.directiveName = directiveName; |
| 7557 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 7558 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 7559 | } |
| 7560 | preLinkFns.push(pre); |
| 7561 | } |
| 7562 | if (post) { |
| 7563 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 7564 | post.require = directive.require; |
| 7565 | post.directiveName = directiveName; |
| 7566 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 7567 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 7568 | } |
| 7569 | postLinkFns.push(post); |
| 7570 | } |
| 7571 | } |
| 7572 | |
| 7573 | |
| 7574 | function getControllers(directiveName, require, $element, elementControllers) { |
no test coverage detected