kriskowal/es5-shim — Issue #101: IE8 issues, Date#parse issue after uglifying
Author: kof
Created: 2012-03-01 20:27:08+00:00
State: open

It seems like nobody tried to run tests in IE8, there are a lot of not passed tests.

Primary I spent a lot of time to figure out Date issue in IE8 after uglifying the code.

Browser reported issue here, .parse method couldn't be accessed:

https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js#L945

I figured out that removing the function name here solves the problem.

https://github.com/kriskowal/es5-shim/blob/master/es5-shim.js#L940

so:
var Date = function(Y, M, D, h, m, s, ms) {

Best,
Oleg