src/aria/html/Select.js
function () {
            if (!this.options) {
                this.options = [];
                if (this._domElt.options) {
                    for (var i = 0, l = this._domElt.options.length; i < l; i++) {
                        var elementToPush = {
                            value : this._domElt.options[i].value,
                            label : this._domElt.options[i].label
                        };
                        this.options.push(elementToPush);
                    }
                }
            }
        }
function () {
            if (!this.options) {
                this.options = [];
                if (this._domElt.options) {
                    for (var i = 0, l = this._domElt.options.length; i < l; i++) {
                        var elementToPush = {
                            value : this._domElt.options[i].value,
                            label : this._domElt.options[i].label
                        };
                        this.options.push(elementToPush);
                    }
                }
            }
        }
function ( ) { if ( ! this . options ) { this . options = [ ] ; if ( this . _domElt . options ) { for ( var i = 0 , l = this . _domElt . options . length ; i < l ; i ++ ) { var elementToPush = { value : this . _domElt . options [ i ] . value , label : this . _domElt . options [ i ] . label } ; this . options . push ( elementToPush ) ; } } } }
get the options from the dom if they haven't been set from the cfg
get the options from the dom if they haven t been set from the cfg