(pre, post, attrStart, attrEnd)
| 7958 | //////////////////// |
| 7959 | |
| 7960 | function addLinkFns(pre, post, attrStart, attrEnd) { |
| 7961 | if (pre) { |
| 7962 | if (attrStart) pre = groupElementsLinkFnWrapper(pre, attrStart, attrEnd); |
| 7963 | pre.require = directive.require; |
| 7964 | pre.directiveName = directiveName; |
| 7965 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 7966 | pre = cloneAndAnnotateFn(pre, {isolateScope: true}); |
| 7967 | } |
| 7968 | preLinkFns.push(pre); |
| 7969 | } |
| 7970 | if (post) { |
| 7971 | if (attrStart) post = groupElementsLinkFnWrapper(post, attrStart, attrEnd); |
| 7972 | post.require = directive.require; |
| 7973 | post.directiveName = directiveName; |
| 7974 | if (newIsolateScopeDirective === directive || directive.$$isolateScope) { |
| 7975 | post = cloneAndAnnotateFn(post, {isolateScope: true}); |
| 7976 | } |
| 7977 | postLinkFns.push(post); |
| 7978 | } |
| 7979 | } |
| 7980 | |
| 7981 | |
| 7982 | function getControllers(directiveName, require, $element, elementControllers) { |
no test coverage detected