MCPcopy
hub / github.com/angular-ui/ui-grid / markDirectiveScope

Function markDirectiveScope

lib/test/angular/1.8.0/angular.js:10794–10798  ·  view source on GitHub ↗
(directives, isolateScope, newScope)

Source from the content-addressed store, hash-verified

10792 // * if the directive itself asks for transclusion but it is at the root of a template and the original
10793 // element was replaced. See https://github.com/angular/angular.js/issues/12936
10794 function markDirectiveScope(directives, isolateScope, newScope) {
10795 for (var j = 0, jj = directives.length; j < jj; j++) {
10796 directives[j] = inherit(directives[j], {$$isolateScope: isolateScope, $$newScope: newScope});
10797 }
10798 }
10799
10800 /**
10801 * looks up the directive and decorates it with exception handling and proper parameters. We

Callers 2

applyDirectivesToNodeFunction · 0.70
compileTemplateUrlFunction · 0.70

Calls 1

inheritFunction · 0.70

Tested by

no test coverage detected