(pre, post, attrStart, attrEnd)
| 6569 | //////////////////// |
| 6570 | |
| 6571 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 6572 | if (pre) { |
| 6573 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 6574 | pre.require = directive.require; |
| 6575 | pre.directiveName = directiveName; |
| 6576 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 6577 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 6578 | } |
| 6579 | preLinkFns.push(pre); |
| 6580 | } |
| 6581 | if (post) { |
| 6582 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 6583 | post.require = directive.require; |
| 6584 | post.directiveName = directiveName; |
| 6585 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 6586 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 6587 | } |
| 6588 | postLinkFns.push(post); |
| 6589 | } |
| 6590 | } |
| 6591 | |
| 6592 | |
| 6593 | function getControllers(directiveName, require, $element, elementControllers) { |
no test coverage detected