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

Remove unused variables.

This commit is contained in:
Mark Hindess 2014-09-08 21:53:15 +01:00
parent 5d9c16ffbf
commit fd04b5851b
5 changed files with 0 additions and 7 deletions

View File

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

View File

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

View File

@ -17,7 +17,6 @@
module.exports = function(RED) { module.exports = function(RED) {
"use strict"; "use strict";
var mustache = require("mustache"); var mustache = require("mustache");
var fs = require('fs');
function TemplateNode(n) { function TemplateNode(n) {
RED.nodes.createNode(this,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 in",GPIOInNode);
RED.nodes.registerType("rpi-gpio out",GPIOOutNode); RED.nodes.registerType("rpi-gpio out",GPIOOutNode);
var querystring = require('querystring');
RED.httpAdmin.get('/rpi-gpio/:id',function(req,res) { RED.httpAdmin.get('/rpi-gpio/:id',function(req,res) {
var credentials = RED.nodes.getCredentials(req.params.id);
res.send( JSON.stringify(pitype) ); res.send( JSON.stringify(pitype) );
}); });
} }

View File

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