(pre, post, attrStart, attrEnd)
| 10442 | //////////////////// |
| 10443 | |
| 10444 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 10445 | if (pre) { |
| 10446 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 10447 | pre.require = directive.require; |
| 10448 | pre.directiveName = directiveName; |
| 10449 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 10450 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 10451 | } |
| 10452 | preLinkFns.push(pre); |
| 10453 | } |
| 10454 | if (post) { |
| 10455 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 10456 | post.require = directive.require; |
| 10457 | post.directiveName = directiveName; |
| 10458 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 10459 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 10460 | } |
| 10461 | postLinkFns.push(post); |
| 10462 | } |
| 10463 | } |
| 10464 | |
| 10465 | function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { |
| 10466 | var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element, |
no test coverage detected