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

Function groupElementsLinkFnWrapper

lib/test/angular/1.8.0/angular.js:10147–10152  ·  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

10145 * @returns {Function}
10146 */
10147 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
10148 return function groupedElementsLink(scope, element, attrs, controllers, transcludeFn) {
10149 element = groupScan(element[0], attrStart, attrEnd);
10150 return linkFn(scope, element, attrs, controllers, transcludeFn);
10151 };
10152 }
10153
10154 /**
10155 * 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