Commit Graph

15 Commits

Author SHA1 Message Date
Braydon Fuller
a50fccef4d Changes behavior of toJSON to work as expected with JSON.stringify
- see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#toJSON%28%29_behavior
- Updates CONTRIBUTING with changes to Stardard Methods
- Aliases toJSON for toObject
- Removes all `fromJSON` methods, and many cases replaces with `fromObject`
- Constructors expect an object parsed via `JSON.parse` for JSON input
2015-08-13 10:46:08 -04:00
eordano
575993967c Standardize optional parameters to Closure syntax 2015-02-24 15:31:13 -03:00
eordano
fcc9081ddd Fix JSDocs from String to string 2015-02-24 15:31:12 -03:00
Yemel Jardi
42e2c6c525 Implement I5 on URI 2015-01-15 18:17:15 -03:00
Esteban Ordano
b5f8188a1f Lint and cover URI completely 2014-12-19 13:41:54 -03:00
Braydon Fuller
6d42e01718 Fix formatting issue with examples 2014-12-18 17:07:01 -05:00
Esteban Ordano
d4b8c4adc6 Remove globals 2014-12-16 17:30:43 -03:00
Braydon Fuller
cddd55afc4 URI/Unit: Added toObject method and changed toJSON to return a string 2014-12-12 18:53:27 -05:00
Braydon Fuller
93502d1523 Fix naming 2014-12-12 12:09:15 -05:00
Braydon Fuller
7aaee6466f Fix spacing formatting issues 2014-12-12 11:24:14 -05:00
Braydon Fuller
32ac9bb63e Change utility naming 2014-12-12 11:05:22 -05:00
Braydon Fuller
1858766627 Standardized toJSON, fromJSON, toString and fromString interfaces 2014-12-12 09:51:59 -05:00
Yemel Jardi
9cd9eeba1f convert amout to satoshis 2014-12-01 17:36:52 -03:00
Yemel Jardi
db4561f834 Add documentation 2014-12-01 17:18:10 -03:00
Yemel Jardi
c9951be2dc Base URI class and tests 2014-12-01 17:18:10 -03:00