(pre, post, attrStart, attrEnd)
| 10507 | //////////////////// |
| 10508 | |
| 10509 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 10510 | if (pre) { |
| 10511 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 10512 | pre.require = directive.require; |
| 10513 | pre.directiveName = directiveName; |
| 10514 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 10515 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 10516 | } |
| 10517 | preLinkFns.push(pre); |
| 10518 | } |
| 10519 | if (post) { |
| 10520 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 10521 | post.require = directive.require; |
| 10522 | post.directiveName = directiveName; |
| 10523 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 10524 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 10525 | } |
| 10526 | postLinkFns.push(post); |
| 10527 | } |
| 10528 | } |
| 10529 | |
| 10530 | function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { |
| 10531 | var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element, |
no test coverage detected