aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/util.js
Commit message (Collapse)AuthorAgeFilesLines
* Manually lintedDan Finlay2016-06-221-8/+8
|
* Merge branch 'master' of github.com:MetaMask/metamask-plugin into AutoLintDan Finlay2016-06-221-10/+7
|\
| * tweekZac Mitton2016-06-211-1/+0
| |
| * added a failing case and fixed it by refactoring everything to stringsZac Mitton2016-06-211-10/+8
| |
* | Auto lintedDan Finlay2016-06-221-44/+43
|/
* Fix hashed address validationDan Finlay2016-06-031-1/+1
|
* correctly displaying small balances with testsZac Mitton2016-05-261-16/+28
|
* Allow empty recipient fields on txDan Finlay2016-05-201-0/+2
|
* Add full precision to send tx value field.Dan Finlay2016-05-201-0/+15
|
* Increase send value precisionDan Finlay2016-05-201-2/+2
|
* Add address capitalization checksummingDan Finlay2016-05-201-1/+15
|
* ui - redesign - ether amount componentkumavis2016-05-191-5/+20
|
* Removed logsDan Finlay2016-04-201-2/+0
|
* Fix floating point input bugDan Finlay2016-04-201-3/+11
| | | | | | When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals! Put this numeric normalization into a utility function with a test around it and got it working.
* Add leading zero to account balancesDan Finlay2016-04-161-1/+1
|
* ui - util - fixes#110 formatBalancekumavis2016-04-151-2/+2
|
* Fix eth resolutionDan Finlay2016-04-151-2/+7
| | | | | | | | utils.formatBalance was returning rounded ether, was not useful for displaying account balances. Now returns four decimal points, and is easily configurable for more, with passing tests. Spoiler alert: Don't you dare divide bignumber wei. Bignumber does not have decimals. Keep it as wei, format it as ether.
* Moved UI into repo with its own dependency stackDan Finlay2016-04-141-0/+102