Skip to content

Commit

Permalink
some sandblocks compat
Browse files Browse the repository at this point in the history
SQUASHED: AUTO-COMMIT-src-components-tools-sandblocks-editor.js,
  • Loading branch information
JensLincke committed Dec 11, 2023
1 parent 8f7872a commit 0f8a37a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/tools/sandblocks-editor.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import "src/client/tree-sitter.js"

import {Parser} from "src/client/tree-sitter.js"
window.TreeSitter = Parser

// while in dev, we keep sandblocks in a separate git repo
import "../../../../sandblocks-text/md5.js"
import "../../../../sandblocks-text/external/md5.js"


import {setConfig} from "../../../../sandblocks-text/model.js"
import "../../../../sandblocks-text/main.js"

// // initialize language....
var baseDir = lively4url + "/../sandblocks-text/"
setConfig({baseURL: baseDir})

await System.import(baseDir + "/main.js");

import Morph from 'src/components/widgets/lively-morph.js';

Expand Down

0 comments on commit 0f8a37a

Please sign in to comment.