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

Initialise Node earlier in registry life-cycle

This commit is contained in:
Nick O'Leary 2014-05-08 22:58:30 +01:00
parent 9524ef726a
commit da3fbd3b62

View File

@ -188,11 +188,11 @@ function loadNodes(dir) {
}
function init(_settings) {
Node = require("./Node");
settings = _settings;
}
function load() {
Node = require("./Node");
return when.promise(function(resolve,reject) {
var RED = require("../red.js");