Skip to content

Commit

Permalink
dude
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Dec 11, 2023
1 parent 8177ab4 commit a2a2bca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion public/squint/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<script type="importmap">
{
"imports": {
"squint-cljs/core.js": "https://unpkg.com/squint-cljs@0.4.57/core.js"
"squint-cljs/core.js": "https://unpkg.com/squint-cljs@0.4.81/core.js"
}
}
</script>
Expand Down
2 changes: 0 additions & 2 deletions public/squint/js/demo.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ let theme = EditorView.theme({
});
let compilerState = null;
let evalCode = async function (code) {
console.log('hello1')
compilerState = compileStringEx(`(do ${code})`, {repl: true,
context: 'return',
"elide-exports": true}, compilerState)
let js = compilerState.javascript;
console.log('js', js);
let result;
try {
result = {value: await eval(`(async function() { ${js} })()`)};
Expand Down

0 comments on commit a2a2bca

Please sign in to comment.