From 406581d5224359892ca58cc9a498ca57b68bae47 Mon Sep 17 00:00:00 2001 From: Mark Hindess Date: Wed, 23 Jul 2014 20:02:28 +0100 Subject: [PATCH] Remove unused references to red/red.js --- red/nodes/registry.js | 1 - red/server.js | 1 - 2 files changed, 2 deletions(-) diff --git a/red/nodes/registry.js b/red/nodes/registry.js index 20342efee..978120a7c 100644 --- a/red/nodes/registry.js +++ b/red/nodes/registry.js @@ -204,7 +204,6 @@ function init(_settings) { function load() { return when.promise(function(resolve,reject) { - var RED = require("../red.js"); loadNodes(__dirname+"/../../nodes").then(function(loadedNodes) { var promises = []; diff --git a/red/server.js b/red/server.js index 03b7805bb..b4e800a42 100644 --- a/red/server.js +++ b/red/server.js @@ -62,7 +62,6 @@ function createServer(_server,_settings) { } function start() { - var RED = require("./red"); var defer = when.defer(); storage.init(settings).then(function() {