MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / beginPhase

Function beginPhase

web/static/bower_components/angular/angular.js:16344–16350  ·  view source on GitHub ↗
(phase)

Source from the content-addressed store, hash-verified

16342
16343
16344 function beginPhase(phase) {
16345 if ($rootScope.$$phase) {
16346 throw $rootScopeMinErr('inprog', '{0} already in progress', $rootScope.$$phase);
16347 }
16348
16349 $rootScope.$$phase = phase;
16350 }
16351
16352 function clearPhase() {
16353 $rootScope.$$phase = null;

Callers 1

$RootScopeProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected