Commit Graph

4 Commits

Author SHA1 Message Date
Stefan Thomas
51f47a8974 JS: Realtime orderbooks. 2013-03-12 13:09:55 +01:00
Stefan Thomas
8792746ae1 JS: Fix Currency#is_valid.
Currency.is_valid("USD") returned false, because "USD" is NaN (not a Number).

We should not use NaN as a stand-in value, since it means "not a *JavaScript*
number", whereas our meaning really is "not a BigInteger object". So we should
be using null.
2013-03-12 13:09:51 +01:00
Arthur Britto
cec8b12a49 JS: Add to_human_full and support for gateways to addresses. 2013-02-02 01:32:00 -08:00
Stefan Thomas
24dac24d29 Refactor JavaScript library.
- Separate classes in separate modules (files)
- Constants should be associated with a class
- Replace exports.config scheme with a config singleton
- Refactor base58 functions as a static class
2013-02-01 22:44:04 +01:00