Files
Superalgos/Projects/Foundations/UI/Spaces/Floating-Space/ConfigEditor.js
T
2021-11-12 13:44:54 +02:00

27 lines
621 B
JavaScript

/**
*
* The only reason we are keeping this class is to keep consistency across the uiObject implementation
* It will also provide a good place to enrich the action received, separating the logic of the action from the editor space
* Entire functionality is provided by CodeEditor Space
*/
function newConfigEditor() {
let thisObject = {
activate: activate,
initialize: initialize
}
return thisObject
function initialize() {
}
function activate(action) {
UI.projects.foundations.spaces.codeEditorSpace.openSpaceArea(action.node, codeEditorType.CONFIG)
}
}