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

Function beginPhase

lib/test/angular/1.8.0/angular.js:19824–19830  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

19822
19823
19824 function beginPhase(phase) {
19825 if ($rootScope.$$phase) {
19826 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
19827 }
19828
19829 $rootScope.$$phase = phase;
19830 }
19831
19832 function clearPhase() {
19833 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected