Fixed more linter warnings

This commit is contained in:
Steffen Kolmer 2020-10-21 15:06:05 +02:00
parent 6f4c5d1b08
commit 906686b640

View file

@ -68,13 +68,13 @@ export default class Confetti implements ICanvasEffect {
if (!canvas) {
return;
}
window.requestAnimationFrame = (function() {
window.requestAnimationFrame = (function () {
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function(callback) {
function (callback) {
return window.setTimeout(callback, this.options.frameInterval);
};
})();