Skip to content

Commit a48a46b

Browse files
committed
reorder
1 parent 0bc4999 commit a48a46b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@ function main() {
189189
// this variable also holds error messages
190190
let currentDictionary = lastSavedDictionary;
191191

192-
// state for output
193-
let output: null | Generator<Result<string>> = null;
194-
let size = 0;
195-
196192
// load custom dictionary
197193
if (!currentDictionary.isError()) {
198194
loadCustomDictionary(currentDictionary.unwrap()[0]);
@@ -201,6 +197,10 @@ function main() {
201197
showMessage(DICTIONARY_LOADING_FAILED_MESSAGE);
202198
}
203199

200+
// state for output
201+
let output: null | Generator<Result<string>> = null;
202+
let size = 0;
203+
204204
// initial text area size
205205
resizeTextarea();
206206
function resizeTextarea() {

0 commit comments

Comments
 (0)