Skip to content

Commit 3878c78

Browse files
committed
1 parent 5b54ad3 commit 3878c78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scrollFileSystem/ScrollFileSystem.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ class ScrollFile {
286286
this.importOnly = false
287287
}
288288

289+
defaultParserCode = ""
290+
defaultParser = Particle
291+
289292
async _readCodeFromStorage() {
290293
if (this.codeAtStart !== undefined) return this // Code provided
291294
const { filePath } = this
@@ -322,9 +325,6 @@ class ScrollFile {
322325
this.scrollProgram.setFile(this)
323326
return this
324327
}
325-
326-
defaultParserCode = ""
327-
defaultParser = Particle
328328
}
329329
let scrollFileSystemIdNumber = 0
330330
const parserCache: any = {}

0 commit comments

Comments
 (0)