mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 17:11:30 +03:00
Fixed more linter errors
This commit is contained in:
parent
2f83771eab
commit
335774b6ff
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
import ICanvasEffect from '../ICanvasEffect'
|
import ICanvasEffect from '../ICanvasEffect';
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
interface Window {
|
interface Window {
|
||||||
|
@ -68,13 +68,13 @@ export default class Confetti implements ICanvasEffect {
|
||||||
if (!canvas) {
|
if (!canvas) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
window.requestAnimationFrame = (function () {
|
window.requestAnimationFrame = (function() {
|
||||||
return window.requestAnimationFrame ||
|
return window.requestAnimationFrame ||
|
||||||
window.webkitRequestAnimationFrame ||
|
window.webkitRequestAnimationFrame ||
|
||||||
window.mozRequestAnimationFrame ||
|
window.mozRequestAnimationFrame ||
|
||||||
window.oRequestAnimationFrame ||
|
window.oRequestAnimationFrame ||
|
||||||
window.msRequestAnimationFrame ||
|
window.msRequestAnimationFrame ||
|
||||||
function (callback) {
|
function(callback) {
|
||||||
return window.setTimeout(callback, this.options.frameInterval);
|
return window.setTimeout(callback, this.options.frameInterval);
|
||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue