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

Function groupElementsLinkFnWrapper

test/angular/1.6/angular.js:9535–9540  ·  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

9533 * @returns {Function}
9534 */
9535 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
9536 return function groupedElementsLink(scope, element, attrs, controllers, transcludeFn) {
9537 element = groupScan(element[0], attrStart, attrEnd);
9538 return linkFn(scope, element, attrs, controllers, transcludeFn);
9539 };
9540 }
9541
9542 /**
9543 * A function generator that is used to support both eager and lazy compilation

Callers 1

addLinkFnsFunction · 0.70

Calls 1

groupScanFunction · 0.70

Tested by

no test coverage detected