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

Function groupElementsLinkFnWrapper

test/angular/1.3/angular.js:7311–7316  ·  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

7309 * @returns {Function}
7310 */
7311 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
7312 return function(scope, element, attrs, controllers, transcludeFn) {
7313 element = groupScan(element[0], attrStart, attrEnd);
7314 return linkFn(scope, element, attrs, controllers, transcludeFn);
7315 };
7316 }
7317
7318 /**
7319 * 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