From a9e323c341ae757666a50b8885070392422d0261 Mon Sep 17 00:00:00 2001 From: IWANABETHATGUY <974153916@qq.com> Date: Thu, 1 Oct 2020 22:01:36 +0800 Subject: [PATCH] fix(playground): always set language to trigger the tree-sitter language onChange event (#12) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update index.html set default language to `yaml` by `js`, because use html set the default select value does't trigger the `tree-sitter.js` onChange event * fix: 🐛 fix problem select change event does not trigger macos --- docs/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/index.html b/docs/index.html index 6bd138e..9a45e2e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -117,3 +117,9 @@ comments: > src="https://code.jquery.com/jquery-3.3.1.min.js" crossorigin="anonymous"> + +