Removes Inbox Backbone view

This commit is contained in:
Josh Perez
2022-06-16 15:12:50 -04:00
committed by GitHub
parent 603b76c3d9
commit aa23c2def2
44 changed files with 496 additions and 808 deletions

View File

@@ -1,6 +0,0 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as Views from './views';
export { Views };

View File

@@ -1,25 +0,0 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export const show = (element: HTMLElement): void => {
const container: HTMLDivElement | null = document.querySelector(
'.lightbox-container'
);
if (!container) {
throw new TypeError("'.lightbox-container' is required");
}
container.innerHTML = '';
container.style.display = 'block';
container.appendChild(element);
};
export const hide = (): void => {
const container: HTMLDivElement | null = document.querySelector(
'.lightbox-container'
);
if (!container) {
return;
}
container.innerHTML = '';
container.style.display = 'none';
};

View File

@@ -1,6 +0,0 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as Lightbox from './Lightbox';
export { Lightbox };