aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-03-31 09:30:24 +0800
committerkumavis <aaron@kumavis.me>2017-03-31 09:30:24 +0800
commitbe88c87b2560f0ae2afd668d9c10cadde0a4ebc3 (patch)
treeb7d75dc4510bef5bc7b08516711755fa35fe0c52
parent1079c20c8329610f124713a1b1dae2dfe9c99ba0 (diff)
downloadtangerine-wallet-browser-be88c87b2560f0ae2afd668d9c10cadde0a4ebc3.tar.gz
tangerine-wallet-browser-be88c87b2560f0ae2afd668d9c10cadde0a4ebc3.tar.zst
tangerine-wallet-browser-be88c87b2560f0ae2afd668d9c10cadde0a4ebc3.zip
extension - prefer extensionizer module
-rw-r--r--app/scripts/contentscript.js2
-rw-r--r--development/mockExtension.js2
-rw-r--r--ui/app/components/account-info-link.js2
-rw-r--r--ui/app/components/buy-button-subview.js2
-rw-r--r--ui/app/components/shift-list-item.js2
-rw-r--r--ui/app/components/transaction-list-item.js2
-rw-r--r--ui/app/info.js2
7 files changed, 7 insertions, 7 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js
index 9a390e580..4d7e682d3 100644
--- a/app/scripts/contentscript.js
+++ b/app/scripts/contentscript.js
@@ -2,7 +2,7 @@ const LocalMessageDuplexStream = require('post-message-stream')
const PongStream = require('ping-pong-stream/pong')
const PortStream = require('./lib/port-stream.js')
const ObjectMultiplex = require('./lib/obj-multiplex')
-const extension = require('./lib/extension')
+const extension = require('extensionizer')
const fs = require('fs')
const path = require('path')
diff --git a/development/mockExtension.js b/development/mockExtension.js
index 509487cce..55799b2bf 100644
--- a/development/mockExtension.js
+++ b/development/mockExtension.js
@@ -4,7 +4,7 @@
* and stubbing out all the extension methods with appropriate mocks.
*/
-const extension = require('../app/scripts/lib/extension')
+const extension = require('extensionizer')
const noop = function () {}
const apis = [
diff --git a/ui/app/components/account-info-link.js b/ui/app/components/account-info-link.js
index 49c42e9ec..74bc7f40e 100644
--- a/ui/app/components/account-info-link.js
+++ b/ui/app/components/account-info-link.js
@@ -3,7 +3,7 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const Tooltip = require('./tooltip')
const genAccountLink = require('../../lib/account-link')
-const extension = require('../../../app/scripts/lib/extension')
+const extension = require('extensionizer')
module.exports = AccountInfoLink
diff --git a/ui/app/components/buy-button-subview.js b/ui/app/components/buy-button-subview.js
index 7b993110d..19279d1f6 100644
--- a/ui/app/components/buy-button-subview.js
+++ b/ui/app/components/buy-button-subview.js
@@ -5,7 +5,7 @@ const connect = require('react-redux').connect
const actions = require('../actions')
const CoinbaseForm = require('./coinbase-form')
const ShapeshiftForm = require('./shapeshift-form')
-const extension = require('../../../app/scripts/lib/extension')
+const extension = require('extensionizer')
const Loading = require('./loading')
const TabBar = require('./tab-bar')
diff --git a/ui/app/components/shift-list-item.js b/ui/app/components/shift-list-item.js
index e0243e247..da991f75f 100644
--- a/ui/app/components/shift-list-item.js
+++ b/ui/app/components/shift-list-item.js
@@ -4,7 +4,7 @@ const h = require('react-hyperscript')
const connect = require('react-redux').connect
const vreme = new (require('vreme'))
const explorerLink = require('../../lib/explorer-link')
-const extension = require('../../../app/scripts/lib/extension')
+const extension = require('extensionizer')
const actions = require('../actions')
const addressSummary = require('../util').addressSummary
diff --git a/ui/app/components/transaction-list-item.js b/ui/app/components/transaction-list-item.js
index ee32be7d3..0052d9c70 100644
--- a/ui/app/components/transaction-list-item.js
+++ b/ui/app/components/transaction-list-item.js
@@ -7,7 +7,7 @@ const addressSummary = require('../util').addressSummary
const explorerLink = require('../../lib/explorer-link')
const CopyButton = require('./copyButton')
const vreme = new (require('vreme'))
-const extension = require('../../../app/scripts/lib/extension')
+const extension = require('extensionizer')
const Tooltip = require('./tooltip')
const TransactionIcon = require('./transaction-list-item-icon')
diff --git a/ui/app/info.js b/ui/app/info.js
index e79580be4..fa51ae41c 100644
--- a/ui/app/info.js
+++ b/ui/app/info.js
@@ -3,7 +3,7 @@ const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect
const actions = require('./actions')
-const extension = require('../../app/scripts/lib/extension')
+const extension = require('extensionizer')
module.exports = connect(mapStateToProps)(InfoScreen)