(pre, post, attrStart, attrEnd)
| 8403 | //////////////////// |
| 8404 | |
| 8405 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 8406 | if (pre) { |
| 8407 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 8408 | pre.require = directive.require; |
| 8409 | pre.directiveName = directiveName; |
| 8410 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 8411 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 8412 | } |
| 8413 | preLinkFns.push(pre); |
| 8414 | } |
| 8415 | if (post) { |
| 8416 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 8417 | post.require = directive.require; |
| 8418 | post.directiveName = directiveName; |
| 8419 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 8420 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 8421 | } |
| 8422 | postLinkFns.push(post); |
| 8423 | } |
| 8424 | } |
| 8425 | |
| 8426 | |
| 8427 | function getControllers(directiveName, require, $element, elementControllers) { |
no test coverage detected