Commit
Author: Michael Davis [mcarsondavis@gmail.com]
Hash: 995ec9c8d0fa7ed281556f18092553072a8e7ab7
Timestamp: Wed, 02 Mar 2022 14:05:22 +0000 (2 years ago)

+1 -1 +/-1 browse
use local tree-sitter-diff.wasm
1diff --git a/playground.js b/playground.js
2index 1d31e40..eab17da 100644
3--- a/playground.js
4+++ b/playground.js
5 @@ -82,7 +82,7 @@ let tree;
6 async function handleLanguageChange() {
7 const newLanguageName = languageSelect.value;
8 if (!languagesByName[newLanguageName]) {
9- const url = 'https://raw.githubusercontent.com/the-mikedavis/tree-sitter-diff/main/tree-sitter-diff.wasm'
10+ const url = './tree-sitter-diff.wasm'
11 languageSelect.disabled = true;
12 try {
13 languagesByName[newLanguageName] = await TreeSitter.Language.load(url);