StandardsModeExtensions.js 873 B

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: hal
  3. // (C) Copyright IBM Corp. 2003, 2017.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. var _hEI=G_BrowserInfo.M_bIsIE?Object.getOwnPropertyDescriptor(HTMLElement.prototype, "uniqueID"):null;HTMLElement.prototype.__defineGetter__("uniqueID",function(){var _h1T1=this.getAttribute("id");if(!_h1T1){_h1T1=_hEI?_hEI.get.call(this):(U_DOM.F_GetUniqueId());this.setAttribute("id", _h1T1);}return _h1T1;});HTMLElement.prototype.__defineGetter__("currentStyle",function(){return this.ownerDocument.defaultView.getComputedStyle(this, null);});HTMLElement.prototype.__defineSetter__("onreadystatechange",function(_h7F2){return this.onload=_h7F2;});HTMLElement.prototype.__defineGetter__("readyState",function(){return "complete";});