Bye Splash Screen
This commit is contained in:
1 parent
ea7af51a62
commit
fa326dadb6
20 files changed
+23
-192
No files matched your search
@@ -10,9 +10,9 @@ function nodeBranchToArray(node, nodeType) {
|
||||
return resultArray
|
||||
|
||||
function scanNodeBranch(startingNode) {
|
||||
if (startingNode === undefined) {return}
|
||||
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(startingNode.type)
|
||||
if (startingNode === undefined) { return }
|
||||
|
||||
let nodeDefinition = getNodeDefinition(startingNode)
|
||||
if (nodeDefinition === undefined) { return }
|
||||
|
||||
if (startingNode.type === nodeType) {
|
||||
@@ -24,7 +24,7 @@ function nodeBranchToArray(node, nodeType) {
|
||||
let lastNodePropertyName
|
||||
for (let i = 0; i < nodeDefinition.properties.length; i++) {
|
||||
let property = nodeDefinition.properties[i]
|
||||
if (lastNodePropertyName === property.name) {continue} // Some nodes have a single property por multiple child node types. We need to check repeated properties only once so as no to duplicate results.
|
||||
if (lastNodePropertyName === property.name) { continue } // Some nodes have a single property por multiple child node types. We need to check repeated properties only once so as no to duplicate results.
|
||||
switch (property.type) {
|
||||
case 'node': {
|
||||
scanNodeBranch(startingNode[property.name])
|
||||
|
||||
@@ -14,7 +14,7 @@ function getHiriarchyMap(rootNode) {
|
||||
hiriatchyMap.set(node.id, node)
|
||||
|
||||
/* Now we go down through all this node children */
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(node.type)
|
||||
let nodeDefinition = getNodeDefinition(node)
|
||||
if (nodeDefinition === undefined) { return }
|
||||
|
||||
if (nodeDefinition.properties !== undefined) {
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ function findNodeInNodeMesh(node, nodeType, nodeName, connectedViaPayload, findI
|
||||
if (nodeFound !== undefined) { return }
|
||||
if (depth >= MAX_DEPTH) {return}
|
||||
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(startingNode.type)
|
||||
let nodeDefinition = getNodeDefinition(startingNode)
|
||||
if (nodeDefinition === undefined) { return }
|
||||
|
||||
if (nodeType !== undefined) {
|
||||
|
||||
@@ -6,7 +6,7 @@ function isMissingChildren(startingNode, checkNode, checkReferenceParent) {
|
||||
if (startingNode === undefined) { return }
|
||||
if (checkNode === undefined) { return }
|
||||
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(startingNode.type)
|
||||
let nodeDefinition = getNodeDefinition(startingNode)
|
||||
if (nodeDefinition === undefined) { return }
|
||||
|
||||
/* We scan through this node children */
|
||||
@@ -69,7 +69,7 @@ function findChildReferencingThisNode(startingNode, checkNode) {
|
||||
if (startingNode === undefined) { return }
|
||||
if (checkNode === undefined) { return }
|
||||
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(startingNode.type)
|
||||
let nodeDefinition = getNodeDefinition(startingNode)
|
||||
if (nodeDefinition === undefined) { return }
|
||||
|
||||
/* We scan through this node children */
|
||||
@@ -156,7 +156,7 @@ function findChildIndexAtParentNode(startingNode) {
|
||||
|
||||
let parentNode = startingNode.payload.parentNode
|
||||
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(parentNode.type)
|
||||
let nodeDefinition = getNodeDefinition(parentNode)
|
||||
if (nodeDefinition === undefined) { return }
|
||||
|
||||
/* We scan through this parent node children */
|
||||
@@ -194,7 +194,7 @@ function isMissingChildrenByName(startingNode, nodeName) {
|
||||
*/
|
||||
if (startingNode === undefined) { return }
|
||||
|
||||
let nodeDefinition = APP_SCHEMA_MAP.get(startingNode.type)
|
||||
let nodeDefinition = getNodeDefinition(startingNode)
|
||||
if (nodeDefinition === undefined) { return }
|
||||
|
||||
/* We scan through this node children */
|
||||
|
||||
Reference in new issue
Block a user