aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/example/app.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-04 01:31:30 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-04 01:31:30 +0800
commit3290421e2f16bd0ea1b13ba3f3d93fc4d233c750 (patch)
treedfbcfb70609fd24074dad6686f447a452313c6c6 /mascara/example/app.js
parent85fd75c21f0e64817b3d4c4d51f37649e3a81233 (diff)
parent1f0cf11af1c94e750bbc4c5238c3ee028350a6c6 (diff)
downloadtangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar
tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.gz
tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.bz2
tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.lz
tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.xz
tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.zst
tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.zip
fix merge conflicts
Diffstat (limited to 'mascara/example/app.js')
-rw-r--r--mascara/example/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/mascara/example/app.js b/mascara/example/app.js
index 598e2c84c..7b6421fdc 100644
--- a/mascara/example/app.js
+++ b/mascara/example/app.js
@@ -3,7 +3,7 @@ const EthQuery = require('ethjs-query')
window.addEventListener('load', loadProvider)
window.addEventListener('message', console.warn)
-async function loadProvider() {
+async function loadProvider () {
const ethereumProvider = window.metamask.createDefaultProvider({ host: 'http://localhost:9001' })
const ethQuery = new EthQuery(ethereumProvider)
const accounts = await ethQuery.accounts()
@@ -13,7 +13,7 @@ async function loadProvider() {
}
-function logToDom(message, context){
+function logToDom (message, context) {
document.getElementById(context).innerText = message
console.log(message)
}
@@ -35,4 +35,4 @@ function setupButtons (ethQuery) {
})
logToDom(txHash, 'cb-value')
})
-} \ No newline at end of file
+}