1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

Fixed more linter errors

This commit is contained in:
Steffen Kolmer
2020-10-21 16:03:22 +02:00
parent 2f83771eab
commit 335774b6ff

View File

@@ -1,4 +1,4 @@
import ICanvasEffect from '../ICanvasEffect'
import ICanvasEffect from '../ICanvasEffect';
declare global {
interface Window {
@@ -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);
};
})();