(pre, post, attrStart, attrEnd)
| 9832 | //////////////////// |
| 9833 | |
| 9834 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 9835 | if (pre) { |
| 9836 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 9837 | pre.require = directive.require; |
| 9838 | pre.directiveName = directiveName; |
| 9839 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9840 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 9841 | } |
| 9842 | preLinkFns.push(pre); |
| 9843 | } |
| 9844 | if (post) { |
| 9845 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 9846 | post.require = directive.require; |
| 9847 | post.directiveName = directiveName; |
| 9848 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9849 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 9850 | } |
| 9851 | postLinkFns.push(post); |
| 9852 | } |
| 9853 | } |
| 9854 | |
| 9855 | function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { |
| 9856 | var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element, |
no test coverage detected