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

Bump arduino pre-req and fix listing

This commit is contained in:
Dave Conway-Jones 2016-03-06 22:37:11 +00:00
parent 581477893e
commit c9faed7876
2 changed files with 7 additions and 7 deletions

View File

@ -52,8 +52,8 @@
defaults: {
name: {value:""},
pin: {value:"",validate: function(v) {
var ct = $("#node-input-state").val() || this.state;
return ct === 'STRING' || (v != '');
var ct = $("#node-input-state").val() || this.state;
return ct === 'STRING' || (v !== '');
}},
state: {value:"INPUT",required:true},
arduino: {type:"arduino-board"}
@ -113,8 +113,8 @@
defaults: {
name: {value:""},
pin: {value:"",validate: function(v) {
var ct = $("#node-input-state").val() || this.state;
return ct === 'STRING' || (v != '');
var ct = $("#node-input-state").val() || this.state;
return ct === 'STRING' || (v !== '');
}},
state: {value:"",required:true},
arduino: {type:"arduino-board"}
@ -166,7 +166,7 @@
$("#node-config-lookup-serial-icon").removeClass('spinner');
$("#node-config-lookup-serial").removeClass('disabled');
var ports = [];
$.each(data, function(i, port){
$.each(data, function(i, port) {
ports.push(port);
});
$("#node-config-input-device").autocomplete({

View File

@ -1,9 +1,9 @@
{
"name" : "node-red-node-arduino",
"version" : "0.0.6",
"version" : "0.0.7",
"description" : "A Node-RED node to talk to an Arduino running firmata",
"dependencies" : {
"arduino-firmata" : "0.3.3"
"arduino-firmata" : "0.3.4"
},
"repository" : {
"type":"git",