Tracking de l'application VApp (IHM du jeu)
This commit is contained in:
31
VApp/node_modules/rxjs/dist/esm5/internal/scheduler/AnimationFrameScheduler.js
generated
vendored
Normal file
31
VApp/node_modules/rxjs/dist/esm5/internal/scheduler/AnimationFrameScheduler.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
import { __extends } from "tslib";
|
||||
import { AsyncScheduler } from './AsyncScheduler';
|
||||
var AnimationFrameScheduler = (function (_super) {
|
||||
__extends(AnimationFrameScheduler, _super);
|
||||
function AnimationFrameScheduler() {
|
||||
return _super !== null && _super.apply(this, arguments) || this;
|
||||
}
|
||||
AnimationFrameScheduler.prototype.flush = function (action) {
|
||||
this._active = true;
|
||||
var flushId = this._scheduled;
|
||||
this._scheduled = undefined;
|
||||
var actions = this.actions;
|
||||
var error;
|
||||
action = action || actions.shift();
|
||||
do {
|
||||
if ((error = action.execute(action.state, action.delay))) {
|
||||
break;
|
||||
}
|
||||
} while ((action = actions[0]) && action.id === flushId && actions.shift());
|
||||
this._active = false;
|
||||
if (error) {
|
||||
while ((action = actions[0]) && action.id === flushId && actions.shift()) {
|
||||
action.unsubscribe();
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
return AnimationFrameScheduler;
|
||||
}(AsyncScheduler));
|
||||
export { AnimationFrameScheduler };
|
||||
//# sourceMappingURL=AnimationFrameScheduler.js.map
|
Reference in New Issue
Block a user