1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
Commit Graph

4556 Commits

Author SHA1 Message Date
Dan Finlay
65d73d7bb4 Unify test suites 2016-04-18 11:41:29 -07:00
Dan Finlay
33dc68535d Add leading zero to account balances 2016-04-15 09:42:20 -07:00
kumavis
cef1f2a65f ui - util - fixes#110 formatBalance 2016-04-14 21:19:08 -07:00
Dan Finlay
8527d051b0 Fix eth resolution
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.
2016-04-14 13:20:19 -07:00
Dan Finlay
a27677a87c Move UI deps into main plugin package.json
Also move UI test scripts into main plugin
Also move testing explanation to main plugin README.
2016-04-13 15:46:39 -07:00
Dan Finlay
d814a45dff Moved UI into repo with its own dependency stack 2016-04-13 15:28:44 -07:00