1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Remove unnecessary ternary

This commit is contained in:
Bernardo Belchior 2019-04-30 14:19:51 +01:00 committed by GitHub
parent 742bf85a89
commit 12ff3abeda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) || (v === 0)); }}
},
inputs:1,
outputs:1,