Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
SQUASHED: AUTO-COMMIT-demos-tree-sitter-edit-history.md,AUTO-COMMIT-demos-tree-sitter-matches.md,
  • Loading branch information
JensLincke committed Oct 9, 2023
1 parent ca9b9d8 commit bbf3666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demos/tree-sitter/edit-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
var list = <ul></ul>

// editor1.value = `let a = 3 + 4`
editor1.value = `3`
editor1.value = `var a = 3`
// editor2.value = `let a = 3 + 4\na++`
editor2.value = `4`
editor2.value = `{var a = 3}`

editor1.editor.on("change", (() => update()).debounce(500));
editor2.editor.on("change", (() => update()).debounce(500));
Expand Down
2 changes: 1 addition & 1 deletion demos/tree-sitter/matches.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// editor1.value = `let a = 3 + 4`
editor1.value = `let a = 3`
// editor2.value = `let a = 3 + 4\na++`
editor2.value = `{let a = 4}`
editor2.value = `{let a = 2+4}`

editor1.editor.on("change", (() => update()).debounce(500));
editor2.editor.on("change", (() => update()).debounce(500));
Expand Down

0 comments on commit bbf3666

Please sign in to comment.