rem: var _245=_242.match(/((?:[0#]+,)?[0#]+)(?:\.([0#]+))?(%)?/); if(!_245){ 
add: var _251=_248.match(/((?:[0#]+,)?[0#]+)(?:\.([0#]+))?(%)?/); if(!_251){ 
context: MochiKit.Format.numberFormatter=function(_242,_243,_244){if(typeof (_243)=="undefined"){_243="";}var _245=_242.match(/((?:[0#]+,)?[0#]+)(?:\.([0#]+))?(%)?/);if(!_245){throw TypeError("Invalid pattern");}var _246=_242.substr(0,_245.index);var _247=_242.substr(_245.index+_245[0].length);if(_246.search(/-/)==-1){_246=_246+"-";}var _248=_245[1];var frac=(typeof (_245[2])=="string"&&_245[2]!="")?_245[2]:"";var _249=(typeof (_245[3])=="string"&&_245[3]!="");var tmp=_248.split(/,/);var _251;if(typeof (_244)=="undefined"){_244="default";}if(tmp.length==1){_251=null;}else{_251=tmp[1].length;}var _252=_248.length-_248.replace(/0/g,"").length;var _253=frac.length-frac.replace(/0/g,"").length;var _254=frac.length;var rval=MochiKit.Format._numberFormatter(_243,_246,_247,_244,_249,_254,_252,_251,_253);var m=MochiKit.Base;if(m){var fn=arguments.callee;var args=m.concat(arguments);rval.repr=function(){return [self.NAME,"(",map(m.repr,args).join(", "),")"].join("");};}return rval;};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/8b42fb2ed090da7f1e336726dcb69d2649658e7c/MochiKit.js/clean/trunk/lib/MochiKit.js