Refresh context sidebar tab based on selection

This commit is contained in:
Nick O'Leary
2018-06-26 23:34:32 +01:00
parent 8d6ac6406d
commit 5d86f7b6ba
7 changed files with 343 additions and 3 deletions

View File

@@ -84,6 +84,7 @@ function clean(flowConfig) {
module.exports = {
init: function(settings) {
globalContext = createContext("global",settings.functionGlobalContext || {});
contexts['global'] = globalContext;
},
get: getContext,
delete: deleteContext,

View File

@@ -167,6 +167,8 @@ module.exports = {
createNode: createNode,
getNode: flows.get,
eachNode: flows.eachNode,
getContext: context.get,
paletteEditorEnabled: registry.paletteEditorEnabled,
installModule: installModule,