Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Move messageBox.js into common folder
Browse files Browse the repository at this point in the history
Auditors:

Test Plan: n/a
  • Loading branch information
Suguru Hirahara committed Apr 25, 2017
1 parent 08e815b commit 16a3171
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
* You can obtain one at http://mozilla.org/MPL/2.0/. */

const React = require('react')
const ImmutableComponent = require('./immutableComponent')
const Dialog = require('../../../js/components/dialog')
const Button = require('../../../js/components/button')
const SwitchControl = require('../../../js/components/switchControl')
const appActions = require('../../../js/actions/appActions')
const KeyCodes = require('../../common/constants/keyCodes')
const config = require('../../../js/constants/config')
const {makeImmutable} = require('../../common/state/immutableUtil')
const ImmutableComponent = require('../immutableComponent')
const Dialog = require('../../../../js/components/dialog')
const Button = require('../../../../js/components/button')
const SwitchControl = require('../../../../js/components/switchControl')
const appActions = require('../../../../js/actions/appActions')
const KeyCodes = require('../../../common/constants/keyCodes')
const config = require('../../../../js/constants/config')
const {makeImmutable} = require('../../../common/state/immutableUtil')

const {StyleSheet, css} = require('aphrodite')
const commonStyles = require('./styles/commonStyles')
const globalStyles = require('./styles/global')
const commonStyles = require('../styles/commonStyles')
const globalStyles = require('../styles/global')

class MessageBox extends ImmutableComponent {
constructor () {
Expand Down
2 changes: 1 addition & 1 deletion js/about/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const UrlUtil = require('../lib/urlutil')
// Components
const PreferenceNavigation = require('../../app/renderer/components/preferences/preferenceNavigation')
const {SettingsList, SettingItem, SettingCheckbox, SettingItemIcon} = require('../../app/renderer/components/settings')
const {SettingTextbox} = require('../../app/renderer/components/textbox')
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 Button = require('../components/button')
Expand Down
2 changes: 1 addition & 1 deletion js/components/frame.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const windowStore = require('../stores/windowStore')
const appStoreRenderer = require('../stores/appStoreRenderer')
const siteSettings = require('../state/siteSettings')
const imageUtil = require('../lib/imageUtil')
const MessageBox = require('../../app/renderer/components/messageBox')
const MessageBox = require('../../app/renderer/components/common/messageBox')

const WEBRTC_DEFAULT = 'default'
const WEBRTC_DISABLE_NON_PROXY = 'disable_non_proxied_udp'
Expand Down
2 changes: 1 addition & 1 deletion test/unit/app/renderer/components/messageBoxTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('MessageBox component unit tests', function () {
useCleanCache: true
})
mockery.registerMock('electron', require('../../../lib/fakeElectron'))
MessageBox = require('../../../../../app/renderer/components/messageBox')
MessageBox = require('../../../../../app/renderer/components/common/messageBox')
appActions = require('../../../../../js/actions/appActions')
})
after(function () {
Expand Down

0 comments on commit 16a3171

Please sign in to comment.