Javascript Code with its own property javascriptCode

This commit is contained in:
Luis Fernando Molina committed 2019-12-06 20:33:16 +01:00
1 parent 58d48edfa6
commit a499dc2477
14 files changed
+59 -76

No files matched your search

@@ -228,7 +228,7 @@ function newNodeChildren () {
return countChildrenCondition(parentNode, childNode)
}
case 'Javascript Code': {
return countChildrenCode(parentNode, childNode)
return countChildrenJavascriptCode(parentNode, childNode)
}
default: {
console.log('WARNING this parentNode type is not listed at NodeChildren: ' + parentNode.type)
@@ -1483,7 +1483,7 @@ function newNodeChildren () {
return response
}
function countChildrenCode (parentNode, childNode) {
function countChildrenJavascriptCode (parentNode, childNode) {
let response = {
childrenCount: 0,
childIndex: undefined