1
0
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:
dceejay 2015-07-04 22:21:00 +01:00
parent c09c58d729
commit ce315bfe84

View File

@ -18,7 +18,7 @@ module.exports = function(RED) {
"use strict";
var SensorTag = require('sensortag');
function sensorTagNode(n) {
var s = function sensorTagNode(n) {
RED.nodes.createNode(this,n);
this.name = n.name;
this.topic = n.topic;
@ -157,5 +157,6 @@ module.exports = function(RED) {
node.stag.unnotifySimpleKey(function() {});
}
}
RED.nodes.registerType("sensorTag",sensorTagNode);
}