mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Merge branch 'dev' into function-modules
This commit is contained in:
@@ -29,6 +29,7 @@ var loader = require("./loader");
|
||||
var installer = require("./installer");
|
||||
var library = require("./library");
|
||||
const externalModules = require("./externalModules")
|
||||
var plugins = require("./plugins");
|
||||
|
||||
/**
|
||||
* Initialise the registry with a reference to a runtime object
|
||||
@@ -41,6 +42,7 @@ function init(runtime) {
|
||||
// the util module it. The Util module is responsible for constructing the
|
||||
// RED object passed to node modules when they are loaded.
|
||||
loader.init(runtime);
|
||||
plugins.init(runtime.settings);
|
||||
registry.init(runtime.settings,loader);
|
||||
library.init();
|
||||
externalModules.init(runtime.settings);
|
||||
@@ -301,6 +303,12 @@ module.exports = {
|
||||
|
||||
checkFlowDependencies: externalModules.checkFlowDependencies,
|
||||
|
||||
registerPlugin: plugins.registerPlugin,
|
||||
getPlugin: plugins.getPlugin,
|
||||
getPluginsByType: plugins.getPluginsByType,
|
||||
getPluginList: plugins.getPluginList,
|
||||
getPluginConfigs: plugins.getPluginConfigs,
|
||||
|
||||
deprecated: require("./deprecated")
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user