Refactoring Properties with childrenNodesProperties

This commit is contained in:
Luis Fernando Molina committed 2020-12-13 09:15:36 +01:00
1 parent e6f0cb1a78
commit 4aa02711cf
25 files changed
+362 -362

No files matched your search

@@ -19,8 +19,8 @@ function newSuperalgosFunctionLibrarySuperScriptsFunctions() {
UI.projects.superalgos.functionLibraries.uiObjectsFromNodes.createUiObjectFromNode(templateClone, target, target)
} else {
let definition = getNodeDefinition(target)
for (let i = 0; i < definition.properties.length; i++) {
let property = definition.properties[i]
for (let i = 0; i < definition.childrenNodesProperties.length; i++) {
let property = definition.childrenNodesProperties[i]
if (property.childType === exchangeNodeType) {
let exchanges = target[property.name]
if (exchanges === undefined) {