Skip to content

Commit

Permalink
✨ chore: remove some unnecessary code
Browse files Browse the repository at this point in the history
Signed-off-by: FurryR <[email protected]>
  • Loading branch information
FurryR committed Sep 21, 2024
1 parent 433c7d6 commit 738bbe9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ import { LppBoundArg } from './impl/boundarg'
throw new Error('lpp must be loaded in unsandboxed mode.')
}

const vm = Scratch.vm as VM
const runtime = vm.runtime as LppCompatibleRuntime
const BlocklyExtension = defineExtension(
id,
color,
Scratch.vm.runtime,
runtime,
Scratch.translate
)
const vm = Scratch.vm as VM
const runtime = vm.runtime as LppCompatibleRuntime

let blockly: BlocklyInstance | undefined = undefined
Scratch.gui.getBlockly().then(ScratchBlocks => {
Expand Down

0 comments on commit 738bbe9

Please sign in to comment.