From 3440ee507c69f34e1fb5b4cd77232291b6a538ba Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 13 Jun 2022 09:31:32 -0400 Subject: [PATCH] Fix misc. typos (#2311) Found via `codespell -q 3 -S ./yarn.lock,./static/geolocations,./static/locales -L te` --- src/renderer/main.js | 2 +- src/renderer/views/Watch/Watch.js | 2 +- static/pwabuilder-sw.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/main.js b/src/renderer/main.js index e1d185ab..8c2db5db 100644 --- a/src/renderer/main.js +++ b/src/renderer/main.js @@ -31,7 +31,7 @@ new Vue({ render: h => h(App) }) -// to avoid accesing electron api from web app build +// to avoid accessing electron api from web app build if (window && window.process && window.process.type === 'renderer') { const { ipcRenderer } = require('electron') diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index c3210f15..6e897d4f 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -1119,7 +1119,7 @@ export default Vue.extend({ interval: Number(interval) // How long one image is used }) }) - // TODO: MAKE A VARIABLE WHICH CAN CHOOSE BETWEEN STROYBOARD ARRAY ELEMENTS + // TODO: MAKE A VARIABLE WHICH CAN CHOOSE BETWEEN STORYBOARD ARRAY ELEMENTS this.buildVTTFileLocally(storyboardArray[1]).then(async (results) => { const userData = await this.getUserDataPath() let fileLocation diff --git a/static/pwabuilder-sw.js b/static/pwabuilder-sw.js index 5850fa90..ff5c3c7e 100644 --- a/static/pwabuilder-sw.js +++ b/static/pwabuilder-sw.js @@ -83,7 +83,7 @@ function cacheFirstFetch(event) { event.respondWith( fromCache(event.request).then( function (response) { - // The response was found in the cache so we responde with it and update the entry + // The response was found in the cache so we respond with it and update the entry // This is where we call the server to get the newest version of the // file to use the next time we show view