mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove unused references to red/red.js
This commit is contained in:
parent
9a60294813
commit
406581d522
@ -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 = [];
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user