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 532 forks source link

added `isArray()` and `isObject()` #21

Closed millermedeiros closed 13 years ago

millermedeiros commented 13 years ago

increases readability, degrades performance a little bit (still doing hundreds of thousands of operations per second).

wjcrowcroft commented 13 years ago

Hey, will probably get these merged in a day or two - just starting out on 24+ hours of travel to get home from HK. Fetching your commits though so may have some time to merge it on the plane! hah.

wjcrowcroft commented 13 years ago

These have been included in the 0.2 release that's in dev branch now. Thanks!