aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-08-17 08:50:51 +0800
committerDan Finlay <dan@danfinlay.com>2016-08-17 08:50:51 +0800
commitdfaac78e39ef1bd06e224ab56e493b4fa3201bef (patch)
tree417d0856a1e1d2d294ec39a5bcef03dadbbd4c6f /app
parenta167bbc5a0f29568ec8e53ecdd942724aa15604b (diff)
downloadtangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar
tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.gz
tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.bz2
tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.lz
tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.xz
tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.tar.zst
tangerine-wallet-browser-dfaac78e39ef1bd06e224ab56e493b4fa3201bef.zip
Linted
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/notifications.js20
1 files changed, 5 insertions, 15 deletions
diff --git a/app/scripts/lib/notifications.js b/app/scripts/lib/notifications.js
index de9cf26e3..d33db0ef9 100644
--- a/app/scripts/lib/notifications.js
+++ b/app/scripts/lib/notifications.js
@@ -1,14 +1,4 @@
-const createId = require('hat')
-const extend = require('xtend')
-const unmountComponentAtNode = require('react-dom').unmountComponentAtNode
-const findDOMNode = require('react-dom').findDOMNode
-const render = require('react-dom').render
-const h = require('react-hyperscript')
-const PendingTxDetails = require('../../../ui/app/components/pending-tx-details')
-const PendingMsgDetails = require('../../../ui/app/components/pending-msg-details')
-const MetaMaskUiCss = require('../../../ui/css')
const extension = require('./extension')
-var notificationHandlers = {}
const notifications = {
createUnlockRequestNotification: createUnlockRequestNotification,
@@ -32,11 +22,11 @@ function createMsgNotification (state) {
function showNotification() {
extension.windows.create({
- url:"notification.html",
- type:"detached_panel",
- focused:true,
- width:360,
- height:500,
+ url: 'notification.html',
+ type: 'detached_panel',
+ focused: true,
+ width: 360,
+ height: 500,
})
}