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

Function groupElementsLinkFnWrapper

lib/test/angular/1.5.0/angular.js:8413–8418  ·  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

8411 * @returns {Function}
8412 */
8413 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
8414 return function(scope, element, attrs, controllers, transcludeFn) {
8415 element = groupScan(element[0], attrStart, attrEnd);
8416 return linkFn(scope, element, attrs, controllers, transcludeFn);
8417 };
8418 }
8419
8420 /**
8421 * 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