build/components_concat.js
function setOption(options, name, value) {
            if (typeof options[name] === 'undefined')
                options[name] = value;
            else {
                if (!Array.isArray(options[name]))
                    options[name] = [ options[name] ];
                options[name].push(value);
            }
        }
function setOption(options, name, value) {
            if (typeof options[name] === 'undefined')
                options[name] = value;
            else {
                if (!Array.isArray(options[name]))
                    options[name] = [ options[name] ];
                options[name].push(value);
            }
        }
function setOption ( options , name , value ) { if ( typeof options [ name ] === 'undefined' ) options [ name ] = value ; else { if ( ! Array . isArray ( options [ name ] ) ) options [ name ] = [ options [ name ] ] ; options [ name ] . push ( value ) ; } }
Sets an option on the specified options object.
@param {!Object.<string,*>} options
@param {string} name
@param {string|number|boolean} value
@inner
Sets an option on the specified options object .