diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-16 06:22:49 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-16 06:22:49 +0800 |
commit | fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c (patch) | |
tree | 48bf62a2c7633492dc8e39cd71d557b07fb6d254 | |
parent | 75d9b5619c1b7e0949136702e7301ed0bb648f09 (diff) | |
download | tangerine-wallet-browser-fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c.tar tangerine-wallet-browser-fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c.tar.gz tangerine-wallet-browser-fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c.tar.bz2 tangerine-wallet-browser-fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c.tar.lz tangerine-wallet-browser-fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c.tar.xz tangerine-wallet-browser-fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c.tar.zst tangerine-wallet-browser-fc7b4cb4bc5141f920131f8d79c56ca9ff3b6d2c.zip |
Linted
-rw-r--r-- | ui/app/components/ens-input.js | 5 | ||||
-rw-r--r-- | ui/app/components/pending-tx.js | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/ui/app/components/ens-input.js b/ui/app/components/ens-input.js index 04c6222c2..3e44d83af 100644 --- a/ui/app/components/ens-input.js +++ b/ui/app/components/ens-input.js @@ -168,6 +168,7 @@ EnsInput.prototype.ensIconContents = function (recipient) { } } -function getNetworkEnsSupport(network) { +function getNetworkEnsSupport (network) { return Boolean(networkMap[network]) -}
\ No newline at end of file +} + diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js index bbdac3bc4..b084a1d2a 100644 --- a/ui/app/components/pending-tx.js +++ b/ui/app/components/pending-tx.js @@ -379,17 +379,17 @@ PendingTx.prototype.onSubmit = function (event) { } } -PendingTx.prototype.checkValidity = function() { +PendingTx.prototype.checkValidity = function () { const form = this.getFormEl() const valid = form.checkValidity() return valid } -PendingTx.prototype.getFormEl = function() { +PendingTx.prototype.getFormEl = function () { const form = document.querySelector('form#pending-tx-form') // Stub out form for unit tests: if (!form) { - return { checkValidity() { return true } } + return { checkValidity () { return true } } } return form } |