aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-19 08:27:26 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-19 08:27:26 +0800
commitd6286cd13aef8b861d84b078b468b02b302ba801 (patch)
tree7d1b4e1c5767362178c74e6c5f9965b4062e4af8
parentdf5f99fa3b95f73befa0dd547900f4e4404ca46a (diff)
downloadtangerine-wallet-browser-d6286cd13aef8b861d84b078b468b02b302ba801.tar
tangerine-wallet-browser-d6286cd13aef8b861d84b078b468b02b302ba801.tar.gz
tangerine-wallet-browser-d6286cd13aef8b861d84b078b468b02b302ba801.tar.bz2
tangerine-wallet-browser-d6286cd13aef8b861d84b078b468b02b302ba801.tar.lz
tangerine-wallet-browser-d6286cd13aef8b861d84b078b468b02b302ba801.tar.xz
tangerine-wallet-browser-d6286cd13aef8b861d84b078b468b02b302ba801.tar.zst
tangerine-wallet-browser-d6286cd13aef8b861d84b078b468b02b302ba801.zip
Maintain linting.
-rw-r--r--app/scripts/lib/inpage-provider.js2
-rw-r--r--app/scripts/lib/random-id.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js
index c9d617996..034812b6a 100644
--- a/app/scripts/lib/inpage-provider.js
+++ b/app/scripts/lib/inpage-provider.js
@@ -120,7 +120,7 @@ function remoteStoreWithLocalStorageCache (storageKey) {
return store
}
-function eachJsonMessage(payload, transformFn){
+function eachJsonMessage (payload, transformFn) {
if (Array.isArray(payload)) {
return payload.map(transformFn)
} else {
diff --git a/app/scripts/lib/random-id.js b/app/scripts/lib/random-id.js
index 78d9e34a5..788f3370f 100644
--- a/app/scripts/lib/random-id.js
+++ b/app/scripts/lib/random-id.js
@@ -1,7 +1,7 @@
const MAX = Number.MAX_SAFE_INTEGER
-let idCounter = Math.round( Math.random() * MAX )
-function createRandomId() {
+let idCounter = Math.round(Math.random() * MAX)
+function createRandomId () {
idCounter = idCounter % MAX
return idCounter++
}