MCPcopy Index your code
hub / github.com/angular-ui/ui-router / groupElementsLinkFnWrapper

Function groupElementsLinkFnWrapper

test/angular/1.4/angular.js:8161–8166  ·  view source on GitHub ↗

* Wrapper for linking function which converts normal linking function into a grouped * linking function. * @param linkFn * @param attrStart * @param attrEnd * @returns {Function}

(linkFn, attrStart, attrEnd)

Source from the content-addressed store, hash-verified

8159 * @returns {Function}
8160 */
8161 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
8162 return function(scope, element, attrs, controllers, transcludeFn) {
8163 element = groupScan(element[0], attrStart, attrEnd);
8164 return linkFn(scope, element, attrs, controllers, transcludeFn);
8165 };
8166 }
8167
8168 /**
8169 * Once the directives have been collected, their compile functions are executed. This method

Callers 1

addLinkFnsFunction · 0.70

Calls 1

groupScanFunction · 0.70

Tested by

no test coverage detected