From b18c5e76c96c6f131b78dde2bbccf442265d2cae Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 25 Mar 2022 07:19:28 -0400 Subject: [PATCH] refactor: check spelling (#2200) Co-authored-by: Josh Soref --- packages/hoppscotch-app/components/app/Fuse.vue | 6 +++--- packages/hoppscotch-app/components/app/Header.vue | 4 ++-- packages/hoppscotch-app/components/app/PowerSearch.vue | 6 +++--- .../hoppscotch-app/components/http/PreRequestScript.vue | 6 +++--- packages/hoppscotch-app/components/realtime/Log.vue | 4 ++-- packages/hoppscotch-app/components/smart/Intersection.vue | 2 +- packages/hoppscotch-app/helpers/curl/curlparser.ts | 2 +- .../hoppscotch-app/helpers/import-export/export/index.ts | 4 ++-- .../hoppscotch-app/helpers/import-export/import/index.ts | 4 ++-- packages/hoppscotch-app/helpers/powerSearchNavigation.ts | 8 ++++---- .../hoppscotch-app/helpers/teams/TeamCollectionAdapter.ts | 2 +- packages/hoppscotch-app/helpers/ternlint.js | 8 ++++---- packages/hoppscotch-app/pages/index.vue | 2 +- packages/hoppscotch-app/plugins/README.md | 2 +- packages/hoppscotch-js-sandbox/README.md | 2 +- packages/hoppscotch-js-sandbox/src/index.ts | 2 +- 16 files changed, 32 insertions(+), 32 deletions(-) diff --git a/packages/hoppscotch-app/components/app/Fuse.vue b/packages/hoppscotch-app/components/app/Fuse.vue index 424b49683..985acc5fa 100644 --- a/packages/hoppscotch-app/components/app/Fuse.vue +++ b/packages/hoppscotch-app/components/app/Fuse.vue @@ -53,17 +53,17 @@ const searchResultsItems = computed(() => const emitSearchAction = (action: HoppAction) => emit("action", action) -const { bindArrowKeysListerners, unbindArrowKeysListerners, selectedEntry } = +const { bindArrowKeysListeners, unbindArrowKeysListeners, selectedEntry } = useArrowKeysNavigation(searchResultsItems, { onEnter: emitSearchAction, stopPropagation: true, }) onMounted(() => { - bindArrowKeysListerners() + bindArrowKeysListeners() }) onUnmounted(() => { - unbindArrowKeysListerners() + unbindArrowKeysListeners() }) diff --git a/packages/hoppscotch-app/components/app/Header.vue b/packages/hoppscotch-app/components/app/Header.vue index b7a80dc79..a53e7a886 100644 --- a/packages/hoppscotch-app/components/app/Header.vue +++ b/packages/hoppscotch-app/components/app/Header.vue @@ -145,7 +145,7 @@ diff --git a/packages/hoppscotch-app/components/http/PreRequestScript.vue b/packages/hoppscotch-app/components/http/PreRequestScript.vue index 8cd5fe7ae..a10edd604 100644 --- a/packages/hoppscotch-app/components/http/PreRequestScript.vue +++ b/packages/hoppscotch-app/components/http/PreRequestScript.vue @@ -31,7 +31,7 @@
-
+
(null) +const preRequestEditor = ref(null) const linewrapEnabled = ref(true) useCodemirror( - preRrequestEditor, + preRequestEditor, preRequestScript, reactive({ extendedEditorConfig: { diff --git a/packages/hoppscotch-app/components/realtime/Log.vue b/packages/hoppscotch-app/components/realtime/Log.vue index 0844e03a9..348a2fab7 100644 --- a/packages/hoppscotch-app/components/realtime/Log.vue +++ b/packages/hoppscotch-app/components/realtime/Log.vue @@ -38,7 +38,7 @@ const props = defineProps({ }) const logsRef = ref(null) -const BOTTOM_SCROLL_DIST_INNACURACY = 5 +const BOTTOM_SCROLL_DIST_INACCURACY = 5 watch( () => props.log, @@ -48,7 +48,7 @@ watch( logsRef.value.scrollHeight - logsRef.value.scrollTop - logsRef.value.clientHeight - if (distToBottom < BOTTOM_SCROLL_DIST_INNACURACY) { + if (distToBottom < BOTTOM_SCROLL_DIST_INACCURACY) { nextTick(() => (logsRef.value.scrollTop = logsRef.value.scrollHeight)) } } diff --git a/packages/hoppscotch-app/components/smart/Intersection.vue b/packages/hoppscotch-app/components/smart/Intersection.vue index a532e70bb..dd07249bd 100644 --- a/packages/hoppscotch-app/components/smart/Intersection.vue +++ b/packages/hoppscotch-app/components/smart/Intersection.vue @@ -7,7 +7,7 @@