Commit 1047b68c authored by Téo Vasseur's avatar Téo Vasseur

js : var view -> View.node

parent 12945394
......@@ -4,11 +4,12 @@ function View(id, parentId, classes) {
var parent = document.getElementById(parentId);
var view = document.createElement('div');
view.className = "view " + classes;
view.textContent = id;
var node = document.createElement('div');
node.className = "view " + classes;
node.textContent = id;
parent.appendChild(view);
this.node = node;
// parent.appendChild(view);
}
function Flex(id, parentId) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment