fix sensorTag linting

This commit is contained in:
dceejay 2015-07-04 22:21:00 +01:00
parent c09c58d729
commit ce315bfe84
1 changed files with 2 additions and 1 deletions

View File

@ -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);
} }