mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add SubflowModule class for running subflow modules
This commit is contained in:
committed by
Nick O'Leary
parent
0c9fd25d3e
commit
814fc8bc69
@@ -120,7 +120,8 @@ function createNode(flow,config) {
|
||||
}
|
||||
})
|
||||
|
||||
var subflow = require("./Subflow").create(
|
||||
var subflow = require("./Subflow").createModuleInstance(
|
||||
nodeTypeConstructor.type,
|
||||
flow,
|
||||
flow.global,
|
||||
subflowConfig.subflows[nodeTypeConstructor.subflow.id],
|
||||
|
||||
Reference in New Issue
Block a user