background.ts/conversation_view.ts modules, Whisper.View/ToastView in TS

This commit is contained in:
Scott Nonnenberg 2021-02-26 13:06:37 -08:00 committed by Josh Perez
parent 2aa2aca9f2
commit d0e3a2ce29
34 changed files with 957 additions and 887 deletions

View file

@ -1,9 +1,7 @@
// Copyright 2015-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* global Backbone, Signal, Whisper */
/* eslint-disable more/no-then */
/* global Backbone, Signal, Whisper, $ */
// eslint-disable-next-line func-names
(function () {
@ -11,7 +9,7 @@
Whisper.KeyVerificationPanelView = Whisper.View.extend({
className: 'panel',
templateName: 'key-verification',
template: () => $('#key-verification').html(),
initialize(options) {
this.render();