Closed
Description
neutronium-vue/template/src/main.js
Line 16 in 86dde3a
When saving my ViewModel I have some (expected) NaNs in my data/vm.cjson
When running in webpack dev mode, the line linked above throws an error. I had to do a string replace like so to get it to work:
const vm = updateVm(CircularJson.parse(rawVm.replace(/\bNaN\b/g, '"NaN"')));
However, I believe there is a possibility of Infinity and -Infinity too... so my hack doesn't completely solve problems like this.
Metadata
Metadata
Assignees
Labels
No labels