We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I assume the json mod is nim js friendly.
Reproduce using the following as source after compiling to js in the default html template:
include karaxprelude import json var jString = "{}" var jNode = parseJson(jString)
The text was updated successfully, but these errors were encountered:
This works for me without problems, the generated js output contains:
function setConstr() { var result = {}; for (var i = 0; i < arguments.length; ++i) { var x = arguments[i]; if (typeof(x) == "object") { for (var j = x[0]; j <= x[1]; ++j) { result[j] = true; } } else { result[x] = true; } } return result; }
Do you really see usage of upper-case SetConstr?
SetConstr
Sorry, something went wrong.
This was a regression in devel and has been fixed in devel.
No branches or pull requests
I assume the json mod is nim js friendly.
Reproduce using the following as source after compiling to js in the default html template:
The text was updated successfully, but these errors were encountered: