mirror of https://github.com/node-red/node-red.git
Merge pull request #290 from hindessm/unused-red-vars
Remove unused references to red/red.jspull/291/head
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