(pre, post, attrStart, attrEnd)
| 9903 | //////////////////// |
| 9904 | |
| 9905 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 9906 | if (pre) { |
| 9907 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 9908 | pre.require = directive.require; |
| 9909 | pre.directiveName = directiveName; |
| 9910 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9911 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 9912 | } |
| 9913 | preLinkFns.push(pre); |
| 9914 | } |
| 9915 | if (post) { |
| 9916 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 9917 | post.require = directive.require; |
| 9918 | post.directiveName = directiveName; |
| 9919 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9920 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 9921 | } |
| 9922 | postLinkFns.push(post); |
| 9923 | } |
| 9924 | } |
| 9925 | |
| 9926 | function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { |
| 9927 | var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element, |
no test coverage detected