From 2672290367a33ca20af2c9676eadbb29327a2bb1 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 3 Apr 2024 16:00:28 +0200 Subject: [PATCH] TODO/FIXME --- client/utils/conversejs.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/client/utils/conversejs.ts b/client/utils/conversejs.ts index c2856db7..c50257a6 100644 --- a/client/utils/conversejs.ts +++ b/client/utils/conversejs.ts @@ -2,19 +2,8 @@ import type { RegisterClientOptions } from '@peertube/peertube-types/client' import type { InitConverseJSParams, ChatPeertubeIncludeMode } from 'shared/lib/types' import { computeAutoColors } from './colors' import { getBaseRoute } from './uri' -// FIXME -// declare global { -// interface Window { -// converse?: { -// initialize: (args: any) => void -// plugins: { -// add: (name: string, plugin: any) => void -// } -// } -// } -// } -// FIXME: better declaration +// FIXME: better declaration (see builtin.ts) declare global { interface Window { converse?: any @@ -25,7 +14,6 @@ declare global { /** * load the ConverseJS CSS. - * TODO: always load them using plugin's package.json? * @param url CSS url */ async function loadCSS (url: string): Promise {