Skip to content

Commit 2ecdfc3

Browse files
authored
Update index.md
1 parent e751b8d commit 2ecdfc3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/desktopapps/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ To include it simply add a script element to a json called `_yab_desktop.json`:
3434
- `width` width in px
3535
- `height` height in px
3636
- `fullscreen` launch fullscreen?
37+
3738
Some additional lua api exists to check if the website is running in the desktop environment:
3839
```lua
39-
if (browser._yab_.isPackaged) {
40-
41-
}
40+
if (browser._yab_.isPackaged) {}
4241
```
4342
To dynamically change the theme when possible, use:
4443
```lua

0 commit comments

Comments
 (0)