-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I was adding a dummy selection so it can be used to trigger early-loading that attribute (points). So I wrote this:
<ts:selection name="dummyForcePointsToLoadAlwaysFalse" filter="points>-1">
But the expression parsing code at
tokenscript-engine/javascript/engine-js/src/tokenScript/selection/SelectionFilter.ts
Line 19 in 0db404a
| const matches = filter.match(/([a-zA-Z0-9]*)([=<>]*)([a-zA-Z0-9]*)/); |
const matches = filter.match(/([a-zA-Z0-9]*)([=<>]*)([a-zA-Z0-9]*)/);
It'll assign an empty string to conditionValue.
It's a uint though, so I'm not sure we'll ever have negative numbers, or will we?
Metadata
Metadata
Assignees
Labels
No labels