Closed jcblw closed 9 years ago
things that need to be done,
VSVG.mount( node );
VSVG.mount = function( node ) {
var elem = VSVG[ node.tagName ]( );
elem._node = node;
// get the attributes
// get the styles
elem._children = node.children.map( this.mount );
return elem;
}
wth that last comment should be for #6
this is actually resolved on 604651906a1cb124311e13ea48412020fbc18fe4
While walking the actual DOM textNodes will not show up in the
children
Array. I think we can make the children array private and expose a getter that filters out the text nodes.