abritinthebay / datejs

DateJS: Evolved. An updated, bug fixed, and actively maintained continuation of DateJS
Other
354 stars 79 forks source link

Fix IE8 undefined global hasOwnProperty #244

Closed vitorhsb closed 9 years ago

vitorhsb commented 9 years ago

hasOwnProperty does not exists in the global window object in IE8, hence full reference to Object.prototype.hasOwnProperty is required.

abritinthebay commented 9 years ago

Nice catch, thanks for that :)