function Base(options) {
        this._eventOutput = new EventHandler();
        this._pool = [];
        EventHandler.setOutputHandler(this, this._eventOutput);
        if (options) {
            for (var key in options) {
                this[key] = options[key];
            }
        }
    }
function Base(options) {
        this._eventOutput = new EventHandler();
        this._pool = [];
        EventHandler.setOutputHandler(this, this._eventOutput);
        if (options) {
            for (var key in options) {
                this[key] = options[key];
            }
        }
    }
function Base ( options ) { this . _eventOutput = new EventHandler ( ) ; this . _pool = [ ] ; EventHandler . setOutputHandler ( this , this . _eventOutput ) ; if ( options ) { for ( var key in options ) { this [ key ] = options [ key ] ; } } }
Base component class
Base component class