modernize backend to target the same ES and TS standards as the rest of the app

This commit is contained in:
Hazelnoot 2025-10-06 00:01:10 -04:00
parent 22f49db21f
commit 9beeca5942
29 changed files with 460 additions and 232 deletions

View file

@ -7,7 +7,7 @@
/** @type {NodeListOf<HTMLIFrameElement>} */
const els = document.querySelectorAll('iframe[data-misskey-embed-id]');
window.addEventListener('message', function (event) {
window.addEventListener('message', (event) => {
els.forEach((el) => {
if (event.source !== el.contentWindow) {
return;