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

Function groupElementsLinkFnWrapper

lib/test/angular/1.4.3/angular.js:7720–7725  ·  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

7718 * @returns {Function}
7719 */
7720 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
7721 return function(scope, element, attrs, controllers, transcludeFn) {
7722 element = groupScan(element[0], attrStart, attrEnd);
7723 return linkFn(scope, element, attrs, controllers, transcludeFn);
7724 };
7725 }
7726
7727 /**
7728 * 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