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

Function markQExceptionHandled

lib/test/angular/1.8.0/angular.js:18339–18347  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

18337 state.pur = true;
18338}
18339function markQExceptionHandled(q) {
18340 // Built-in `$q` promises will always have a `$$state` property. This check is to allow
18341 // overwriting `$q` with a different promise library (e.g. Bluebird + angular-bluebird-promises).
18342 // (Currently, this is the only method that might be called with a promise, even if it is not
18343 // created by the built-in `$q`.)
18344 if (q.$$state) {
18345 markQStateExceptionHandled(q.$$state);
18346 }
18347}
18348
18349/** @this */
18350function $$RAFProvider() { //rAF

Callers 2

$IntervalProviderFunction · 0.70
$TimeoutProviderFunction · 0.70

Calls 1

Tested by

no test coverage detected