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:
commit
5179cc77f5
@ -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 = [];
|
||||
|
@ -62,7 +62,6 @@ function createServer(_server,_settings) {
|
||||
}
|
||||
|
||||
function start() {
|
||||
var RED = require("./red");
|
||||
var defer = when.defer();
|
||||
|
||||
storage.init(settings).then(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user