You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2019. It is now read-only.
After rewriting my project to use JurassicTools I found a problem:
[JSFunction(Name = "param")]
public string Parameter(string parameterName, string parameterValue = null, bool global = false){
if(parameterValue == null){
// parameterValue is never null
return ""; // my call in js file is this.param('test');
}
}
The comparison with null is never true because I think string parameter is backed up by a Jurassic string proxy object.
The text was updated successfully, but these errors were encountered:
thanks for the report! Sadly I don't have the time work on this anymore (I kinda moved on to Groovy and NodeJS). But feel free to investigate and maybe send a PR. ;)
Its very dificult to do a PR. Your project uses a different tabbing, different new line. When I open in VS and save the file, all formating enters as change.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
After rewriting my project to use JurassicTools I found a problem:
The comparison with null is never true because I think string parameter is backed up by a Jurassic string proxy object.
The text was updated successfully, but these errors were encountered: