openexchangerates / accounting.js

A lightweight JavaScript library for number, money and currency formatting - fully localisable, zero dependencies.
http://openexchangerates.github.io/accounting.js
MIT License
4.95k stars 528 forks source link

Fixed isObject implementation for IE7 and IE8 #44

Closed keithpitt closed 12 years ago

keithpitt commented 12 years ago

toString.call(undefined) or toString.call(null) will return "[object Object] in IE7 and 8.

wjcrowcroft commented 12 years ago

Good catch, thanks.