(pre, post, attrStart, attrEnd)
| 9931 | //////////////////// |
| 9932 | |
| 9933 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 9934 | if (pre) { |
| 9935 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 9936 | pre.require = directive.require; |
| 9937 | pre.directiveName = directiveName; |
| 9938 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9939 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 9940 | } |
| 9941 | preLinkFns.push(pre); |
| 9942 | } |
| 9943 | if (post) { |
| 9944 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 9945 | post.require = directive.require; |
| 9946 | post.directiveName = directiveName; |
| 9947 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 9948 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 9949 | } |
| 9950 | postLinkFns.push(post); |
| 9951 | } |
| 9952 | } |
| 9953 | |
| 9954 | function nodeLinkFn(childLinkFn, scope, linkNode, $rootElement, boundTranscludeFn) { |
| 9955 | var i, ii, linkFn, isolateScope, controllerScope, elementControllers, transcludeFn, $element, |
no test coverage detected