MCPcopy Create free account
hub / github.com/angular-ui/ui-router / markQExceptionHandled

Function markQExceptionHandled

test/angular/1.7/angular.js:18274–18282  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

18272 state.pur = true;
18273}
18274function markQExceptionHandled(q) {
18275 // Built-in `$q` promises will always have a `$$state` property. This check is to allow
18276 // overwriting `$q` with a different promise library (e.g. Bluebird + angular-bluebird-promises).
18277 // (Currently, this is the only method that might be called with a promise, even if it is not
18278 // created by the built-in `$q`.)
18279 if (q.$$state) {
18280 markQStateExceptionHandled(q.$$state);
18281 }
18282}
18283
18284/** @this */
18285function $$RAFProvider() { //rAF

Callers 2

$IntervalProviderFunction · 0.70
$TimeoutProviderFunction · 0.70

Calls 1

Tested by

no test coverage detected