MCPcopy
hub / github.com/angular-ui/ui-router / groupElementsLinkFnWrapper

Function groupElementsLinkFnWrapper

test/angular/1.7/angular.js:10082–10087  ·  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

10080 * @returns {Function}
10081 */
10082 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
10083 return function groupedElementsLink(scope, element, attrs, controllers, transcludeFn) {
10084 element = groupScan(element[0], attrStart, attrEnd);
10085 return linkFn(scope, element, attrs, controllers, transcludeFn);
10086 };
10087 }
10088
10089 /**
10090 * 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