smfields / BlazorSplit

Blazor wrapper around the Split.js library
https://blazor-split.smfields.net
MIT License
2 stars 0 forks source link

Fix Infinity parsing on the JavaScript side #8

Closed smfields closed 2 years ago

smfields commented 2 years ago

Right now we correctly serialize Number.PositiveInfinity to 'Infinity' and Number.NegativeInfinity to '-Infinity', but we don't parse those values correctly on the JS side. Currently they are just treated as string values, which doesn't break anything, but also doesn't work as expected.