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

Function groupElementsLinkFnWrapper

test/angular/1.2/angular.js:6340–6345  ·  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

6338 * @returns {Function}
6339 */
6340 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
6341 return function(scope, element, attrs, controllers, transcludeFn) {
6342 element = groupScan(element[0], attrStart, attrEnd);
6343 return linkFn(scope, element, attrs, controllers, transcludeFn);
6344 };
6345 }
6346
6347 /**
6348 * 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