freshlover / datejs

Automatically exported from code.google.com/p/datejs
0 stars 0 forks source link

[FIXED] this.message & 's' are 'undefined' with unparsable string #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Within Firebug, "Break on All Errors" must be enabled. 

Within Firebug try the following...

    Date.parse('asdf')

Firebug jumps into the debugger and returns this.message and 's' as undefined. 

Line 11:
Exception: function(s) { 
    this.message = "Parse error at '" + s.substring(0,10) + " ...'"; 
}

[FIXED] Returned null within Parser.finish if the Array length is 0.

Original issue reported on code.google.com by geoff%co...@gtempaccount.com on 12 Nov 2007 at 2:03

GoogleCodeExporter commented 8 years ago
Fixed.

Original comment by geoff%co...@gtempaccount.com on 13 Nov 2007 at 12:10