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

Added missing () to validator

This commit is contained in:
Ben Hardill 2013-11-13 15:25:29 +00:00
parent f3a84eacf3
commit e2a532434e

View File

@ -88,8 +88,8 @@
timeoutUnits: {value:"seconds"},
rate: {value:"1", required:true, validate:RED.validators.number()},
rateUnits: {value: "second"},
randomFirst: {value:"1", required:true, valudate:RED.validators.number},
randomLast: {value:"5", required:true, valudate:RED.validators.number},
randomFirst: {value:"1", required:true, valudate:RED.validators.number()},
randomLast: {value:"5", required:true, valudate:RED.validators.number()},
randomUnits: {value: "seconds"}
},
inputs:1, // set the number of inputs - only 0 or 1