diff --git a/app/renderer/components/bookmarks/addEditBookmarkHanger.js b/app/renderer/components/bookmarks/addEditBookmarkHanger.js index a307e07ca9e..549c92011f7 100644 --- a/app/renderer/components/bookmarks/addEditBookmarkHanger.js +++ b/app/renderer/components/bookmarks/addEditBookmarkHanger.js @@ -8,7 +8,7 @@ const Immutable = require('immutable') // Components const ReduxComponent = require('../reduxComponent') const Dialog = require('../common/dialog') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') // Actions const appActions = require('../../../../js/actions/appActions') diff --git a/app/renderer/components/bookmarks/bookmarksToolbar.js b/app/renderer/components/bookmarks/bookmarksToolbar.js index be126e24bf3..64598b50244 100644 --- a/app/renderer/components/bookmarks/bookmarksToolbar.js +++ b/app/renderer/components/bookmarks/bookmarksToolbar.js @@ -9,7 +9,7 @@ const Immutable = require('immutable') // Components const ReduxComponent = require('../reduxComponent') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const BookmarkToolbarButton = require('./bookmarkToolbarButton') // Actions diff --git a/app/renderer/components/common/messageBox.js b/app/renderer/components/common/messageBox.js index 0b2de09cfd1..fa5bf77e5e0 100644 --- a/app/renderer/components/common/messageBox.js +++ b/app/renderer/components/common/messageBox.js @@ -8,7 +8,7 @@ const {StyleSheet, css} = require('aphrodite') // Components const ReduxComponent = require('../reduxComponent') const Dialog = require('./dialog') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const SwitchControl = require('./switchControl') // Actions diff --git a/app/renderer/components/download/downloadsBar.js b/app/renderer/components/download/downloadsBar.js index f05b5983767..29d080308d5 100644 --- a/app/renderer/components/download/downloadsBar.js +++ b/app/renderer/components/download/downloadsBar.js @@ -7,7 +7,7 @@ const React = require('react') // Components const ReduxComponent = require('../reduxComponent') const Button = require('../common/button') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const DownloadItem = require('./downloadItem') const {StyleSheet, css} = require('aphrodite/no-important') diff --git a/app/renderer/components/main/braveryPanel.js b/app/renderer/components/main/braveryPanel.js index 8f114200234..eee7c9bfabb 100644 --- a/app/renderer/components/main/braveryPanel.js +++ b/app/renderer/components/main/braveryPanel.js @@ -9,7 +9,7 @@ const {StyleSheet, css} = require('aphrodite/no-important') // Components const ReduxComponent = require('../reduxComponent') const Dialog = require('../common/dialog') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const SwitchControl = require('../common/switchControl') const {BraveryPanelDropdown} = require('../common/dropdown') diff --git a/app/renderer/components/main/checkDefaultBrowserDialog.js b/app/renderer/components/main/checkDefaultBrowserDialog.js index 3f2e483b183..6ec0a0d21af 100644 --- a/app/renderer/components/main/checkDefaultBrowserDialog.js +++ b/app/renderer/components/main/checkDefaultBrowserDialog.js @@ -8,7 +8,7 @@ const {StyleSheet, css} = require('aphrodite/no-important') // Components const ReduxComponent = require('../reduxComponent') const Dialog = require('../common/dialog') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const SwitchControl = require('../common/switchControl') const { CommonFormMedium, diff --git a/app/renderer/components/main/findbar.js b/app/renderer/components/main/findbar.js index 5bac14fb4d1..85beea2f6c8 100644 --- a/app/renderer/components/main/findbar.js +++ b/app/renderer/components/main/findbar.js @@ -7,7 +7,7 @@ const Immutable = require('immutable') // Components const ReduxComponent = require('../reduxComponent') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const SwitchControl = require('../common/switchControl') // Constants diff --git a/app/renderer/components/main/noScriptInfo.js b/app/renderer/components/main/noScriptInfo.js index bd6ea1965b6..867bc01fe95 100644 --- a/app/renderer/components/main/noScriptInfo.js +++ b/app/renderer/components/main/noScriptInfo.js @@ -10,7 +10,7 @@ const urlParse = require('../../../common/urlParse') const ReduxComponent = require('../reduxComponent') const ImmutableComponent = require('../immutableComponent') const Dialog = require('../common/dialog') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') // Actions const appActions = require('../../../../js/actions/appActions') diff --git a/app/renderer/components/main/notificationItem.js b/app/renderer/components/main/notificationItem.js index 3ba54190f8b..8bcf31b8577 100644 --- a/app/renderer/components/main/notificationItem.js +++ b/app/renderer/components/main/notificationItem.js @@ -9,7 +9,7 @@ const {StyleSheet, css} = require('aphrodite/no-important') // Components const ReduxComponent = require('../reduxComponent') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') // Constants const messages = require('../../../../js/constants/messages') diff --git a/app/renderer/components/main/updateBar.js b/app/renderer/components/main/updateBar.js index 46a31fddb26..fd1f419c9eb 100644 --- a/app/renderer/components/main/updateBar.js +++ b/app/renderer/components/main/updateBar.js @@ -8,7 +8,7 @@ const {StyleSheet, css} = require('aphrodite/no-important') // Components const ImmutableComponent = require('../immutableComponent') const ReduxComponent = require('../reduxComponent') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') // Actions const appActions = require('../../../../js/actions/appActions') diff --git a/app/renderer/components/navigation/browserAction.js b/app/renderer/components/navigation/browserAction.js index 9720a5b4e6b..5d0a7656e64 100644 --- a/app/renderer/components/navigation/browserAction.js +++ b/app/renderer/components/navigation/browserAction.js @@ -10,7 +10,7 @@ const Immutable = require('immutable') // Components const ReduxComponent = require('../reduxComponent') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const BrowserActionBadge = require('./browserActionBadge') // State diff --git a/app/renderer/components/preferences/payment/advancedSettings.js b/app/renderer/components/preferences/payment/advancedSettings.js index d5236dd6ba6..0acbd31c1b2 100644 --- a/app/renderer/components/preferences/payment/advancedSettings.js +++ b/app/renderer/components/preferences/payment/advancedSettings.js @@ -10,7 +10,7 @@ const {changeSetting} = require('../../../lib/settingsUtil') const appConfig = require('../../../../../js/constants/appConfig') // components -const BrowserButton = require('../../common/browserButton') +const {BrowserButton} = require('../../common/browserButton') const {SettingsList, SettingItem, SettingCheckbox} = require('../../common/settings') const {SettingDropdown} = require('../../common/dropdown') const ImmutableComponent = require('../../immutableComponent') diff --git a/app/renderer/components/preferences/payment/bitcoinDashboard.js b/app/renderer/components/preferences/payment/bitcoinDashboard.js index 8c084034eb7..784cecea08b 100644 --- a/app/renderer/components/preferences/payment/bitcoinDashboard.js +++ b/app/renderer/components/preferences/payment/bitcoinDashboard.js @@ -6,7 +6,7 @@ const React = require('react') const {StyleSheet, css} = require('aphrodite/no-important') // components -const BrowserButton = require('../../common/browserButton') +const {BrowserButton} = require('../../common/browserButton') const cx = require('../../../../../js/lib/classSet') const ModalOverlay = require('../../common/modalOverlay') const ImmutableComponent = require('../../immutableComponent') diff --git a/app/renderer/components/preferences/payment/enabledContent.js b/app/renderer/components/preferences/payment/enabledContent.js index 73adb90a869..1a7a4665cd5 100644 --- a/app/renderer/components/preferences/payment/enabledContent.js +++ b/app/renderer/components/preferences/payment/enabledContent.js @@ -13,7 +13,7 @@ const {changeSetting} = require('../../../lib/settingsUtil') // components const ImmutableComponent = require('../../immutableComponent') -const BrowserButton = require('../../common/browserButton') +const {BrowserButton} = require('../../common/browserButton') const {FormTextbox} = require('../../common/textbox') const {FormDropdown} = require('../../common/dropdown') const {SettingsList, SettingItem} = require('../../common/settings') diff --git a/app/renderer/components/preferences/payment/history.js b/app/renderer/components/preferences/payment/history.js index a2f1610505c..c49a4d077c1 100644 --- a/app/renderer/components/preferences/payment/history.js +++ b/app/renderer/components/preferences/payment/history.js @@ -12,7 +12,7 @@ const {formattedTimeFromNow, formattedDateFromTimestamp} = require('../../../../ const appUrlUtil = require('../../../../../js/lib/appUrlUtil') // components -const BrowserButton = require('../../common/browserButton') +const {BrowserButton} = require('../../common/browserButton') const ImmutableComponent = require('../../immutableComponent') // style diff --git a/app/renderer/components/preferences/payment/ledgerBackup.js b/app/renderer/components/preferences/payment/ledgerBackup.js index 406f6bdecc1..5e590bd6d60 100644 --- a/app/renderer/components/preferences/payment/ledgerBackup.js +++ b/app/renderer/components/preferences/payment/ledgerBackup.js @@ -7,7 +7,7 @@ const {StyleSheet, css} = require('aphrodite/no-important') // components const ImmutableComponent = require('../../immutableComponent') -const BrowserButton = require('../../common/browserButton') +const {BrowserButton} = require('../../common/browserButton') // style const globalStyles = require('../../styles/global') diff --git a/app/renderer/components/preferences/payment/ledgerRecovery.js b/app/renderer/components/preferences/payment/ledgerRecovery.js index 5e4bcd40026..0ae7dd962b5 100644 --- a/app/renderer/components/preferences/payment/ledgerRecovery.js +++ b/app/renderer/components/preferences/payment/ledgerRecovery.js @@ -10,7 +10,7 @@ const {btcToCurrencyString} = require('../../../../common/lib/ledgerUtil') // components const ImmutableComponent = require('../../immutableComponent') -const BrowserButton = require('../../common/browserButton') +const {BrowserButton} = require('../../common/browserButton') const {RecoveryKeyTextbox} = require('../../common/textbox') const {SettingsList, SettingItem} = require('../../common/settings') diff --git a/app/renderer/components/preferences/payment/ledgerTable.js b/app/renderer/components/preferences/payment/ledgerTable.js index 58076e93c6b..8262579f283 100644 --- a/app/renderer/components/preferences/payment/ledgerTable.js +++ b/app/renderer/components/preferences/payment/ledgerTable.js @@ -9,7 +9,7 @@ const {StyleSheet, css} = require('aphrodite') const ImmutableComponent = require('../../immutableComponent') const SortableTable = require('../../common/sortableTable') const SwitchControl = require('../../common/switchControl') -const BrowserButton = require('../../common/browserButton') +const {BrowserButton} = require('../../common/browserButton') const PinnedInput = require('./pinnedInput') // style diff --git a/app/renderer/components/preferences/syncTab.js b/app/renderer/components/preferences/syncTab.js index 519b58206f9..f1e8a0b3ef8 100644 --- a/app/renderer/components/preferences/syncTab.js +++ b/app/renderer/components/preferences/syncTab.js @@ -10,7 +10,7 @@ const niceware = require('niceware') // Components const ModalOverlay = require('../common/modalOverlay') -const BrowserButton = require('../common/browserButton') +const {BrowserButton} = require('../common/browserButton') const {SettingsList, SettingItem, SettingCheckbox} = require('../common/settings') const SortableTable = require('../common/sortableTable') diff --git a/js/about/certerror.js b/js/about/certerror.js index 6e6461519fa..c47aef3f3a0 100644 --- a/js/about/certerror.js +++ b/js/about/certerror.js @@ -3,7 +3,7 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ const React = require('react') -const BrowserButton = require('../../app/renderer/components/common/browserButton') +const {BrowserButton} = require('../../app/renderer/components/common/browserButton') const aboutActions = require('./aboutActions') const messages = require('../constants/messages') const ipc = window.chrome.ipcRenderer diff --git a/js/about/errorPage.js b/js/about/errorPage.js index df6bcb4c0a5..67b3ce7b07b 100644 --- a/js/about/errorPage.js +++ b/js/about/errorPage.js @@ -3,7 +3,7 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ const React = require('react') -const BrowserButton = require('../../app/renderer/components/common/browserButton') +const {BrowserButton} = require('../../app/renderer/components/common/browserButton') const appActions = require('../../js/actions/appActions') const tabActions = require('../../app/common/actions/tabActions') diff --git a/js/about/preferences.js b/js/about/preferences.js index c6d8f33900f..473d325093d 100644 --- a/js/about/preferences.js +++ b/js/about/preferences.js @@ -16,7 +16,7 @@ const {SettingsList, SettingItem, SettingCheckbox, SettingItemIcon} = require('. const {SettingTextbox} = require('../../app/renderer/components/common/textbox') const {SettingDropdown} = require('../../app/renderer/components/common/dropdown') const {DefaultSectionTitle} = require('../../app/renderer/components/common/sectionTitle') -const BrowserButton = require('../../app/renderer/components/common/browserButton') +const {BrowserButton} = require('../../app/renderer/components/common/browserButton') // Tabs const PaymentsTab = require('../../app/renderer/components/preferences/paymentsTab') diff --git a/js/about/safebrowsing.js b/js/about/safebrowsing.js index 7ac67636ad2..6381c8c3817 100644 --- a/js/about/safebrowsing.js +++ b/js/about/safebrowsing.js @@ -3,7 +3,7 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ const React = require('react') -const BrowserButton = require('../../app/renderer/components/common/browserButton') +const {BrowserButton} = require('../../app/renderer/components/common/browserButton') const {StyleSheet, css} = require('aphrodite/no-important') diff --git a/js/about/styles.js b/js/about/styles.js index 5635888ddb5..3a2c11e4736 100644 --- a/js/about/styles.js +++ b/js/about/styles.js @@ -15,7 +15,7 @@ require('../../node_modules/font-awesome/css/font-awesome.css') const {Textbox, FormTextbox, SettingTextbox, RecoveryKeyTextbox} = require('../../app/renderer/components/common/textbox') const {TextArea, DefaultTextArea} = require('../../app/renderer/components/common/textbox') const {Dropdown, FormDropdown, SettingDropdown, BraveryPanelDropdown} = require('../../app/renderer/components/common/dropdown') -const BrowserButton = require('../../app/renderer/components/common/browserButton') +const {BrowserButton} = require('../../app/renderer/components/common/browserButton') const { SectionTitleWrapper,