Beta 6 without Execution

This commit is contained in:
Luis Fernando Molina committed 2020-07-06 15:43:34 +02:00
1 parent 4033d4d07f
commit d40b985f5e
123 files changed
+8114 -12392

No files matched your search

@@ -14,7 +14,7 @@ function newNodeChildren () {
childrenCount: 0,
childIndex: undefined
}
let parentNodeDefinition = APP_SCHEMA_MAP.get(parentNode.type)
let parentNodeDefinition = getNodeDefinition (parentNode)
if (parentNodeDefinition !== undefined) {
if (parentNodeDefinition.properties !== undefined) {
let previousPropertyName // Since there are cases where there are many properties with the same name,because they can hold nodes of different types but only one at the time, we have to avoind counting each property of those as individual children.
@@ -34,7 +34,7 @@ function newNodeChildren () {
}
break
case 'array': {
let nodeDefinition = APP_SCHEMA_MAP.get(childNode.type)
let nodeDefinition = getNodeDefinition (childNode)
if (nodeDefinition !== undefined) {
let nodePropertyArray = parentNode[property.name]
for (let j = 0; j < nodePropertyArray.length; j++) {