mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
WIP: runtime api for node modules
This commit is contained in:
@@ -64,11 +64,11 @@ function createNode(node,def) {
|
||||
}
|
||||
}
|
||||
|
||||
function init(_settings,storage) {
|
||||
settings = _settings;
|
||||
credentials.init(storage);
|
||||
flows.init(_settings,storage);
|
||||
registry.init(_settings);
|
||||
function init(runtime) {
|
||||
settings = runtime.settings;
|
||||
credentials.init(runtime.storage);
|
||||
flows.init(runtime.settings,runtime.storage);
|
||||
registry.init(runtime);
|
||||
}
|
||||
|
||||
function disableNode(id) {
|
||||
|
||||
Reference in New Issue
Block a user