aboutsummaryrefslogtreecommitdiffstats
path: root/ui/lib
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-06-24 07:53:45 +0800
committerkumavis <aaron@kumavis.me>2016-06-24 07:53:45 +0800
commit2468949cb5b13b36cb11f351a13d92bdc500093c (patch)
treef74f1418aa29ada6977d123141c73975a8b573fd /ui/lib
parentf0633463d0335da5351f1b4a7138e50fe1bf269c (diff)
downloadtangerine-wallet-browser-2468949cb5b13b36cb11f351a13d92bdc500093c.tar
tangerine-wallet-browser-2468949cb5b13b36cb11f351a13d92bdc500093c.tar.gz
tangerine-wallet-browser-2468949cb5b13b36cb11f351a13d92bdc500093c.tar.bz2
tangerine-wallet-browser-2468949cb5b13b36cb11f351a13d92bdc500093c.tar.lz
tangerine-wallet-browser-2468949cb5b13b36cb11f351a13d92bdc500093c.tar.xz
tangerine-wallet-browser-2468949cb5b13b36cb11f351a13d92bdc500093c.tar.zst
tangerine-wallet-browser-2468949cb5b13b36cb11f351a13d92bdc500093c.zip
some legit linting fixes
Diffstat (limited to 'ui/lib')
-rw-r--r--ui/lib/icon-factory.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/lib/icon-factory.js b/ui/lib/icon-factory.js
index ed9624c13..a30041114 100644
--- a/ui/lib/icon-factory.js
+++ b/ui/lib/icon-factory.js
@@ -32,8 +32,7 @@ IconFactory.prototype.generateIdenticonImg = function (address, diameter) {
// returns svg dom element
IconFactory.prototype.generateIdenticonSvg = function (address, diameter) {
- var numericRepresentation = jsNumberForAddress(address)
- var cacheId = address+':'+diameter
+ var cacheId = `${address}:${diameter}`
// check cache, lazily generate and populate cache
var identicon = this.cache[cacheId] || (this.cache[cacheId] = this.generateNewIdenticon(address, diameter))
// create a clean copy so you can modify it