mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fix lint errors
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
/* eslint-env browser */
|
||||
|
||||
/* global i18n: false */
|
||||
/* global Whisper: false */
|
||||
|
||||
// eslint-disable-next-line func-names
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
@@ -22,6 +28,7 @@
|
||||
this.render();
|
||||
this.$('textarea').val(i18n('loading'));
|
||||
|
||||
// eslint-disable-next-line more/no-then
|
||||
window.log.fetch().then((text) => {
|
||||
this.$('textarea').val(text);
|
||||
});
|
||||
@@ -47,7 +54,8 @@
|
||||
if (text.length === 0) {
|
||||
return;
|
||||
}
|
||||
log.publish(text).then((url) => {
|
||||
// eslint-disable-next-line more/no-then
|
||||
window.log.publish(text).then((url) => {
|
||||
const view = new Whisper.DebugLogLinkView({
|
||||
url,
|
||||
el: this.$('.result'),
|
||||
|
||||
Reference in New Issue
Block a user