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

Merge pull request #393 from hindessm/remove-unused-vars-in-nodes

Remove unused variables.
This commit is contained in:
Nick O'Leary 2014-09-08 22:26:16 +01:00
commit 0111ab8901
5 changed files with 0 additions and 7 deletions

View File

@ -16,7 +16,6 @@
module.exports = function(RED) {
var util = require("util");
var ws = require("ws");
var events = require("events");
var debuglength = RED.settings.debugMaxLength||1000;
var useColors = false;

View File

@ -18,8 +18,6 @@ module.exports = function(RED) {
"use strict";
var util = require("util");
var vm = require("vm");
var fs = require('fs');
var fspath = require('path');
function FunctionNode(n) {
RED.nodes.createNode(this,n);

View File

@ -17,7 +17,6 @@
module.exports = function(RED) {
"use strict";
var mustache = require("mustache");
var fs = require('fs');
function TemplateNode(n) {
RED.nodes.createNode(this,n);

View File

@ -179,9 +179,7 @@ module.exports = function(RED) {
RED.nodes.registerType("rpi-gpio in",GPIOInNode);
RED.nodes.registerType("rpi-gpio out",GPIOOutNode);
var querystring = require('querystring');
RED.httpAdmin.get('/rpi-gpio/:id',function(req,res) {
var credentials = RED.nodes.getCredentials(req.params.id);
res.send( JSON.stringify(pitype) );
});
}

View File

@ -16,7 +16,6 @@
module.exports = function(RED) {
"use strict";
var fs = require("fs");
var spawn = require('child_process').spawn;
var plat = require('os').platform();