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

cli: add format flag to support PNG output to stdout #2257

Closed
wants to merge 36 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
b15161f
feat(cli): add format flag to support PNG output to stdout
Maricaya Dec 21, 2024
9bd151b
refactor: rename format flag to stdout-format
Maricaya Dec 30, 2024
5c43324
docs: update lib examples with proper context logging
alixander Dec 27, 2024
674257a
d2sequence: fix notes with self messages
alixander Dec 29, 2024
7a3d54b
ta
alixander Dec 29, 2024
45f978e
next
alixander Dec 29, 2024
2d59fda
d2lsp: implement autocomplete functions
alixander Dec 29, 2024
0b5fd2d
shuffle keywords
alixander Dec 29, 2024
081dd1b
init
alixander Apr 3, 2023
cd56cbe
remove layers restriction
alixander Jun 11, 2023
7840eab
update format
alixander Jun 14, 2023
b43fecf
defer imports
alixander Jun 15, 2023
cdf771a
compile
alixander Jul 22, 2023
6277d6d
fix importUsed
alixander Aug 4, 2023
084a62c
invoke callback if defined
alixander Sep 25, 2023
21afb48
no goldmark in compile
alixander Oct 2, 2023
7dea1db
getparentid
alixander Jan 20, 2024
b3e79f7
add version call
alixander Sep 4, 2024
e75b2e9
update getRefRanges
alixander Oct 11, 2024
2e6234a
update getrefs call
alixander Oct 11, 2024
63ddaeb
support board path
alixander Oct 12, 2024
84edf7e
rebase
alixander Oct 12, 2024
6656679
update lsp
alixander Oct 17, 2024
5c40b01
update to latest
alixander Oct 19, 2024
5cb8a62
get board at position
alixander Nov 13, 2024
ecdf977
add wasm tag
alixander Dec 12, 2024
3db5d79
refactor
alixander Dec 21, 2024
80f1354
integrate with d2lsp completions
alixander Dec 29, 2024
3a6617a
compile and render functions
alixander Dec 29, 2024
688060d
Implement --check flag for fmt
nwalters512 Dec 16, 2024
0642d5c
Add E2E test
nwalters512 Dec 16, 2024
5aab612
Update changelog
nwalters512 Dec 16, 2024
5339983
Fix typo
nwalters512 Dec 16, 2024
63ebe96
Update the manpage
nwalters512 Dec 16, 2024
564cd3a
Improve tests
nwalters512 Dec 17, 2024
714c20e
feat: Update the manpage
Maricaya Dec 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
invoke callback if defined
alixander authored and Maricaya committed Jan 14, 2025
commit 084a62ce85387056d37a319cedcef85c9a495362
4 changes: 4 additions & 0 deletions d2js/js.go
Original file line number Diff line number Diff line change
@@ -26,6 +26,10 @@ func main() {
js.Global().Set("d2Parse", js.FuncOf(jsParse))
js.Global().Set("d2Encode", js.FuncOf(jsEncode))
js.Global().Set("d2Decode", js.FuncOf(jsDecode))
initCallback := js.Global().Get("onWasmInitialized")
if !initCallback.IsUndefined() {
initCallback.Invoke()
}
select {}
}