Skip to content
Open
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion src/doc/artist/snippet-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ You need to pass an object where keys are the feature names and their values the
$fx.features({
'A feature of type string': $fx.rand() > 0.5 ? 'Super cool' : 'Not cool !',
'Feature number': Math.floor($fx.rand() * 100),
'A boolean feature': $fx.rand() > 0.8 > true : false,
'A boolean feature': $fx.rand() > 0.8 ? true : false,
'A constant feature': 'constant value',
})
```
Expand Down