mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
update UI, Runtime API, metadata handling, and others
This commit is contained in:
@@ -83,7 +83,7 @@ function createNodeApi(node) {
|
||||
httpAdmin: runtime.adminApp,
|
||||
server: runtime.server
|
||||
}
|
||||
copyObjectProperties(runtime.nodes,red.nodes,["createNode","getNode","eachNode","addCredentials","getCredentials","deleteCredentials", "listNPMModules"]);
|
||||
copyObjectProperties(runtime.nodes,red.nodes,["createNode","getNode","eachNode","addCredentials","getCredentials","deleteCredentials"]);
|
||||
red.nodes.registerType = function(type,constructor,opts) {
|
||||
runtime.nodes.registerType(node.id,type,constructor,opts);
|
||||
}
|
||||
|
Reference in New Issue
Block a user