Code coverage report for cjs/scheduler/AnimationFrameScheduler.js

Statements: 82.35% (14 / 17)      Branches: 57.14% (4 / 7)      Functions: 80% (4 / 5)      Lines: 92.86% (13 / 14)      Ignored: none     

All files » cjs/scheduler/ » AnimationFrameScheduler.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 191 1 1 1   1 1 1 1 1 1   1     1   1  
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var QueueScheduler_1 = require('./QueueScheduler');
var AnimationFrameAction_1 = require('./AnimationFrameAction');
var AnimationFrameScheduler = (function (_super) {
    __extends(AnimationFrameScheduler, _super);
    function AnimationFrameScheduler() {
        _super.apply(this, arguments);
    }
    AnimationFrameScheduler.prototype.scheduleNow = function (work, state) {
        return new AnimationFrameAction_1.AnimationFrameAction(this, work).schedule(state);
    };
    return AnimationFrameScheduler;
})(QueueScheduler_1.QueueScheduler);
exports.AnimationFrameScheduler = AnimationFrameScheduler;
//# sourceMappingURL=AnimationFrameScheduler.js.map