MCPcopy Create free account
hub / github.com/bclinkinbeard/angular / groupElementsLinkFnWrapper

Function groupElementsLinkFnWrapper

test/fixtures/foo.js:6265–6270  ·  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

6263 * @returns {Function}
6264 */
6265 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {
6266 return function(scope, element, attrs, controllers, transcludeFn) {
6267 element = groupScan(element[0], attrStart, attrEnd);
6268 return linkFn(scope, element, attrs, controllers, transcludeFn);
6269 };
6270 }
6271
6272 /**
6273 * Once the directives have been collected, their compile functions are executed. This method

Callers 1

addLinkFnsFunction · 0.85

Calls 1

groupScanFunction · 0.85

Tested by

no test coverage detected