rem: fromHexString: function (hexCode) { if (hexCode.charAt(0) == '#') { hexCode = hexCode.substring(1); } var components = []; var i, hex; if (hexCode.length == 3) { for (i = 0; i < 3; i++) { hex = hexCode.substr(i, 1); components.push(parseInt(hex + hex, 16) / 255.0); } } else { for (i = 0; i < 6; i += 2) { hex = hexCode.substr(i, 2); components.push(parseInt(hex, 16) / 255.0); } } var Color = MochiKit.Color.Color; return Color.fromRGB.apply(Color, components); }, 
add: },fromHexString:function(_481){ if(_481.charAt(0)=="#"){ _481=_481.substring(1); } var _482=[]; var i,hex; if(_481.length==3){ for(i=0;i<3;i++){ hex=_481.substr(i,1); _482.push(parseInt(hex+hex,16)/255); } }else{ for(i=0;i<6;i+=2){ hex=_481.substr(i,2); _482.push(parseInt(hex,16)/255); } } var _483=MochiKit.Color.Color; return _483.fromRGB.apply(_483,_482); },_fromColorString:function(pre,_485,_486,_487){ 
context:     fromHexString: function (hexCode) {        if (hexCode.charAt(0) == '#') {            hexCode = hexCode.substring(1);        }        var components = [];        var i, hex;        if (hexCode.length == 3) {            for (i = 0; i < 3; i++) {                hex = hexCode.substr(i, 1);                components.push(parseInt(hex + hex, 16) / 255.0);            }        } else {            for (i = 0; i < 6; i += 2) {                hex = hexCode.substr(i, 2);                components.push(parseInt(hex, 16) / 255.0);            }        }        var Color = MochiKit.Color.Color;        return Color.fromRGB.apply(Color, components);    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js