mirror of
https://github.com/allankoechke/slint.git
synced 2026-11-30 10:58:19 +00:00
Don't use old syntax in docs
This commit is contained in:
@@ -115,7 +115,7 @@ similar to API that's created for your `.slint` component.
|
||||
For example the following `.slint` markup defines a global `Logic` singleton that's also exported:
|
||||
|
||||
```slint,ignore
|
||||
export global Logic := {
|
||||
export global Logic {
|
||||
callback to_uppercase(string) -> string;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user