Merge pull request #2156 from bernardobelchior/patch-1

Remove unnecessary ternary
This commit is contained in:
Nick O'Leary 2019-05-17 10:45:36 +01:00 committed by GitHub
commit 651b1c92c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
name: {value:""},
func: {value:"\nreturn msg;"},
outputs: {value:1},
noerr: {value:0,required:true,validate:function(v) { return ((!v) || (v === 0)) ? true : false; }}
noerr: {value:0,required:true,validate:function(v) { return !v; }}
},
inputs:1,
outputs:1,