From 0ce86d3b677d1072641a31089eebaab35586e4be Mon Sep 17 00:00:00 2001 From: pypy Date: Thu, 21 Jan 2021 12:39:33 +0900 Subject: [PATCH] lint --- html/src/app.js | 1 + html/src/vr.js | 1 + 2 files changed, 2 insertions(+) diff --git a/html/src/app.js b/html/src/app.js index 96ffe2be..ffde9501 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -380,6 +380,7 @@ speechSynthesis.getVoices(); this.$throw(0, 'Invalid JSON response'); } this.$throw(response.status); + return {}; }).then(({ data, status }) => { if (status === 200) { if (data.success === Object(data.success)) { diff --git a/html/src/vr.js b/html/src/vr.js index 62728c6e..cf010ba3 100644 --- a/html/src/vr.js +++ b/html/src/vr.js @@ -200,6 +200,7 @@ speechSynthesis.getVoices(); this.$throw(0, 'Invalid JSON response'); } this.$throw(response.status); + return {}; }).then(({ data, status }) => { if (data === Object(data)) { if (status === 200) {