|
@@ -177,6 +177,17 @@ export default class App extends React.Component {
|
|
|
}
|
|
|
render(){
|
|
|
let currentView2 = CS.render();
|
|
|
+ /*console.log("TESTING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ")
|
|
|
+ let view = Object.keys(CS.ViewSystem.views)[1]
|
|
|
+ let testingView = CS.ViewSystem.views[view]
|
|
|
+ let testingNode = testingView.ViewTree.nodes[Object.keys(testingView.ViewTree.nodes)[1]];
|
|
|
+ console.log(Object.keys(testingView.ViewTree.nodes))
|
|
|
+ console.log(testingNode)
|
|
|
+ //console.log(testingNode)
|
|
|
+ let prevNode = testingView.getBefore(testingNode)
|
|
|
+ console.log("prev node is",prevNode)
|
|
|
+ // Object.keys(CS.ViewSystem.views).map((key) => console.log(CS.ViewSystem.views[key]))
|
|
|
+ console.log("TESTING @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@")*/
|
|
|
return (
|
|
|
<Div>
|
|
|
<Div>{currentView2}</Div>
|