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

Merge pull request #290 from hindessm/unused-red-vars

Remove unused references to red/red.js
This commit is contained in:
Nick O'Leary 2014-07-23 20:50:38 +01:00
commit 5179cc77f5
2 changed files with 0 additions and 2 deletions

View File

@ -204,7 +204,6 @@ function init(_settings) {
function load() { function load() {
return when.promise(function(resolve,reject) { return when.promise(function(resolve,reject) {
var RED = require("../red.js");
loadNodes(__dirname+"/../../nodes").then(function(loadedNodes) { loadNodes(__dirname+"/../../nodes").then(function(loadedNodes) {
var promises = []; var promises = [];

View File

@ -62,7 +62,6 @@ function createServer(_server,_settings) {
} }
function start() { function start() {
var RED = require("./red");
var defer = when.defer(); var defer = when.defer();
storage.init(settings).then(function() { storage.init(settings).then(function() {