MCPcopy Create free account
hub / github.com/angular-ui/ui-router / groupElementsLinkFnWrapper

Function groupElementsLinkFnWrapper

test/angular/1.5/angular.js:9015–9020  ·  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

9013 * @returns {Function}
9014 */
9015 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
9016 return function groupedElementsLink(scope, element, attrs, controllers, transcludeFn) {
9017 element = groupScan(element[0], attrStart, attrEnd);
9018 return linkFn(scope, element, attrs, controllers, transcludeFn);
9019 };
9020 }
9021
9022 /**
9023 * 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