src/aria/utils/Dom.js
function (element, opacity) {
            var browser = ariaCoreBrowser;
            var isIE8OrLess = (browser.isIE8 || browser.isIE7);
            this.setOpacity = isIE8OrLess ? this._setOpacityLegacyIE : this._setOpacityW3C;
            this.setOpacity(element, opacity);
        }
function (element, opacity) {
            var browser = ariaCoreBrowser;
            var isIE8OrLess = (browser.isIE8 || browser.isIE7);
            this.setOpacity = isIE8OrLess ? this._setOpacityLegacyIE : this._setOpacityW3C;
            this.setOpacity(element, opacity);
        }
function ( element , opacity ) { var browser = ariaCoreBrowser ; var isIE8OrLess = ( browser . isIE8 || browser . isIE7 ) ; this . setOpacity = isIE8OrLess ? this . _setOpacityLegacyIE : this . _setOpacityW3C ; this . setOpacity ( element , opacity ) ; }
Set the opacity of an element
@param {HTMLElement} element
@param {Number} opacity must be between 0 and 1
Set the opacity of an element