emoncms - improve check for no input

to close #275
This commit is contained in:
Dave Conway-Jones 2017-02-06 22:29:55 +00:00
parent 0ad4a7bc4d
commit 7e421db642
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
defaults: {
name: {value:"Emoncms"},
emonServer: {type:"emoncms-server", required:true},
nodegroup: {value:"", validate:function(v) {return ((v === undefined)||(/^\d+$/).test(v)); }}
nodegroup: {value:"", validate:function(v) {return ((v === "")||(/^\d+$/).test(v));} }
},
inputs:1,
outputs:0,

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-emoncms",
"version" : "0.0.11",
"version" : "0.0.13",
"description" : "A Node-RED node to fetch/post data to/from emoncms",
"dependencies" : {
},