Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm init #436

Merged
merged 21 commits into from
Dec 30, 2024
Prev Previous commit
Next Next commit
rebase
  • Loading branch information
alixander committed Dec 29, 2024
commit 010f3082b6220d9b6a4c6b7198e3ea4ffa4b5ccf
2 changes: 1 addition & 1 deletion d2js/js.go
Original file line number Diff line number Diff line change
@@ -124,7 +124,7 @@ func jsGetRefRanges(this js.Value, args []js.Value) interface{} {
return string(str)
}

refs, err := d2lsp.GetFieldRefs(file, fs, key, boardPath)
refs, err := d2lsp.GetRefs(file, fs, key, boardPath)
if err != nil {
ret := jsRefRanges{D2Error: err.Error()}
str, _ := json.Marshal(ret)