feat!: update playground with new web bindings

This commit is contained in:
Amaan Qureshi 2025-01-20 03:13:24 -05:00
parent 0dba35c30f
commit 692332ed1c
2 changed files with 12 additions and 12 deletions

View file

@ -90,12 +90,10 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/clusterize.js/0.19.0/clusterize.min.js"></script>
<script>LANGUAGE_BASE_URL = "";</script>
<script src=tree-sitter.js></script>
<script src=playground.js></script>
<script>
setTimeout(() => {
window.initializePlayground({local: true});
}, 1)
<script type="module" src=playground.js></script>
<script type="module">
import {initializePlayground} from './playground.js';
setTimeout(() => initializePlayground({local: true}), 1)
</script>
<style>