diff --git a/index.html b/index.html index c14babf..542d096 100644 --- a/index.html +++ b/index.html @@ -12,10 +12,10 @@ var N = { edited:[], editing:[] }; - inChildren.forEach( inChild => N.Connect(output, inChild) ); + inChildren.forEach( inChild => N.ConnectChild(output, inChild) ); return output; }, - Connect:(inParent, inChild)=> + ConnectChild:(inParent, inChild)=> { inParent.Children.push(inChild); inChild.Parents.push(inParent); @@ -26,11 +26,7 @@ var N = { for(let i=0; i - { - N.Walk(inNode, "Children", inIterator, inWalkID); - }, - WalkParents:(inNode, inIterator, inWalkID) => - { - N.Walk(inNode, "Parents", inIterator, inWalkID); - } + WalkChildren:(inNode, inIterator, inWalkID) => N.Walk(inNode, "Children", inIterator, inWalkID), + WalkParents :(inNode, inIterator, inWalkID) => N.Walk(inNode, "Parents", inIterator, inWalkID) }; \ No newline at end of file