src/graphics/dom.js
function() {
        var comp,
            c = this.__c,
            str = "";
        for (comp in c) {
            str += " " + comp;
        }
        str = str.substr(1);
        this._element.className = str;
    }
function() {
        var comp,
            c = this.__c,
            str = "";
        for (comp in c) {
            str += " " + comp;
        }
        str = str.substr(1);
        this._element.className = str;
    }
function ( ) { var comp , c = this . __c , str = "" ; for ( comp in c ) { str += " " + comp ; } str = str . substr ( 1 ) ; this . _element . className = str ; }
adds a class on NewComponent events
adds a class on NewComponent events