rem: MochiKit.DateTime.isoDate = function (str) { /***  Convert an ISO 8601 date (YYYY-MM-DD) to a Date object.  ***/ str = str + ""; if (typeof(str) != "string" || str.length == 0) { return null; } var iso = str.split('-'); if (iso.length == 0) { return null; } return new Date(iso[0], iso[1] - 1, iso[2]); 
add: MochiKit.DateTime.isoDate=function(str){ str=str+""; if(typeof (str)!="string"||str.length==0){ return null; } var iso=str.split("-"); if(iso.length==0){ return null; } return new Date(iso[0],iso[1]-1,iso[2]); 
context: MochiKit.DateTime.isoDate = function (str) {    /***        Convert an ISO 8601 date (YYYY-MM-DD) to a Date object.    ***/    str = str + "";    if (typeof(str) != "string" || str.length == 0) {        return null;    }    var iso = str.split('-');    if (iso.length == 0) {        return null;    }    return new Date(iso[0], iso[1] - 1, iso[2]);};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js