@vue-widget/hooks
Version:
hooks from react to vue
10 lines (9 loc) • 465 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.requestAnimationFrame = void 0;
var w = window;
var requestAnimationFrame = exports.requestAnimationFrame = (w === null || w === void 0 ? void 0 : w.requestAnimationFrame) || (w === null || w === void 0 ? void 0 : w.webkitRequestAnimationFrame) || (w === null || w === void 0 ? void 0 : w.mozRequestAnimationFrame) || function (callback) {
setTimeout(callback, 1000 / 60);
};