mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
fix sensorTag linting
This commit is contained in:
parent
c09c58d729
commit
ce315bfe84
@ -18,7 +18,7 @@ module.exports = function(RED) {
|
|||||||
"use strict";
|
"use strict";
|
||||||
var SensorTag = require('sensortag');
|
var SensorTag = require('sensortag');
|
||||||
|
|
||||||
function sensorTagNode(n) {
|
var s = function sensorTagNode(n) {
|
||||||
RED.nodes.createNode(this,n);
|
RED.nodes.createNode(this,n);
|
||||||
this.name = n.name;
|
this.name = n.name;
|
||||||
this.topic = n.topic;
|
this.topic = n.topic;
|
||||||
@ -157,5 +157,6 @@ module.exports = function(RED) {
|
|||||||
node.stag.unnotifySimpleKey(function() {});
|
node.stag.unnotifySimpleKey(function() {});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RED.nodes.registerType("sensorTag",sensorTagNode);
|
RED.nodes.registerType("sensorTag",sensorTagNode);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user