rem: MochiKit.Visual._RoundCorners = function (e, options) { e = MochiKit.DOM.getElement(e); this._setOptions(options); if (this.options.__unstable__wrapElement) { e = this._doWrap(e); }  var color = this.options.color; var C = MochiKit.Color.Color; if (this.options.color == "fromElement") { color = C.fromBackground(e); } else if (!(color instanceof C)) { color = C.fromString(color); } this.isTransparent = (color.asRGB().a <= 0);  var bgColor = this.options.bgColor; if (this.options.bgColor == "fromParent") { bgColor = C.fromBackground(e.offsetParent); } else if (!(bgColor instanceof C)) { bgColor = C.fromString(bgColor); }  this._roundCornersImpl(e, color, bgColor); 
add: MochiKit.Visual._RoundCorners=function(e,_546){ e=MochiKit.DOM.getElement(e); this._setOptions(_546); if(this.options.__unstable__wrapElement){ e=this._doWrap(e); } var _547=this.options.color; var C=MochiKit.Color.Color; if(this.options.color=="fromElement"){ _547=C.fromBackground(e); }else{ if(!(_547 instanceof C)){ _547=C.fromString(_547); } } this.isTransparent=(_547.asRGB().a<=0); var _549=this.options.bgColor; if(this.options.bgColor=="fromParent"){ _549=C.fromBackground(e.offsetParent); }else{ if(!(_549 instanceof C)){ _549=C.fromString(_549); } } this._roundCornersImpl(e,_547,_549); 
context: MochiKit.Visual._RoundCorners = function (e, options) {    e = MochiKit.DOM.getElement(e);    this._setOptions(options);    if (this.options.__unstable__wrapElement) {        e = this._doWrap(e);    }    var color = this.options.color;    var C = MochiKit.Color.Color;    if (this.options.color == "fromElement") {        color = C.fromBackground(e);    } else if (!(color instanceof C)) {        color = C.fromString(color);    }    this.isTransparent = (color.asRGB().a <= 0);    var bgColor = this.options.bgColor;    if (this.options.bgColor == "fromParent") {        bgColor = C.fromBackground(e.offsetParent);    } else if (!(bgColor instanceof C)) {        bgColor = C.fromString(bgColor);    }    this._roundCornersImpl(e, color, bgColor);};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js