Florian Blasius
e3dbefafa5
node: implement access for globals ( #3815 )
2023-11-02 11:01:40 +01:00
Florian Blasius
88a814c234
Revert "Implement globals for node"
...
This reverts commit 8412a971af
.
2023-10-31 11:40:39 +01:00
Florian Blasius
8412a971af
Implement globals for node
2023-10-31 11:36:25 +01:00
Florian Blasius
62a30a0e2e
node: export classes use interfaces for setters ( #3804 )
2023-10-31 10:36:00 +01:00
Simon Hausmann
55085d43af
Fix Node.js version of memory game not working properly ( #3789 )
...
The rules require comparing if tiles are equal, which used to be a string comparison as we just
converted the image to a path. With ImageData this doesn't
work anymore, so this patch proposes an optional path
property that makes the code also a tad bit more readable.
2023-10-31 08:50:32 +01:00
Florian Blasius
52a0cd5c13
Show warning on duplciatedd properties ( #3805 )
2023-10-31 07:08:40 +01:00
Simon Hausmann
ce0f8ddf7c
janitor: reformat these files with vscode
...
This matches the existing formatting in the files present.
2023-10-27 16:41:06 +02:00
Florian Blasius
0045787e1c
node: api review adjustements part I ( #3766 )
...
* Update api/node/src/types/brush.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update tests/cases/callbacks/handler_with_arg.slint
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
2023-10-26 10:02:49 +02:00
Simon Hausmann
2fc418251b
node: remove workaround for font imports with relative paths
...
Commit a76c3ec789
fixes the underlying issue.
2023-10-25 15:04:55 +02:00
Florian Blasius
bf77b064ab
Replace neon node port ( #3744 )
...
* Update api/node/README.md
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-24 15:07:59 +02:00