mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2156 from bernardobelchior/patch-1
Remove unnecessary ternary
This commit is contained in:
commit
651b1c92c3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user