(pre, post, attrStart, attrEnd)
| 9383 | //////////////////// |
| 9384 | |
| 9385 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 9386 | if (pre) { |
| 9387 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 9388 | pre.require = directive.require; |
| 9389 | pre.directiveName = directiveName; |
| 9390 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9391 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 9392 | } |
| 9393 | preLinkFns.push(pre); |
| 9394 | } |
| 9395 | if (post) { |
| 9396 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 9397 | post.require = directive.require; |
| 9398 | post.directiveName = directiveName; |
| 9399 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9400 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 9401 | } |
| 9402 | postLinkFns.push(post); |
| 9403 | } |
| 9404 | } |
| 9405 | |
| 9406 | function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { |
| 9407 | var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element, |
no test coverage detected