js/component.js
function() {
        var domWrapper;

        this._children = [];
        this._createRootHtml();
        
        domWrapper = utils.html.parseHTML(this.html);
        if (domWrapper.childNodes.length > 1) {
            throw new Error("Component should have only one root element");
        }
        this.root = domWrapper.firstChild;

        this.processInstance();
    }
function() {
        var domWrapper;

        this._children = [];
        this._createRootHtml();
        
        domWrapper = utils.html.parseHTML(this.html);
        if (domWrapper.childNodes.length > 1) {
            throw new Error("Component should have only one root element");
        }
        this.root = domWrapper.firstChild;

        this.processInstance();
    }
Init the object, construct and process DOM