Skip to content

Commit

Permalink
chore: use new file names
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Feb 15, 2020
1 parent 4073e1c commit 042d4f0
Show file tree
Hide file tree
Showing 24 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion spec/config-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { configDefaults } from '../src/lib/atom-xterm-config'
import { configDefaults } from '../src/lib/config'

import os from 'os'
import path from 'path'
Expand Down
2 changes: 1 addition & 1 deletion spec/delete-profile-element-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermDeleteProfileElement } from '../src/lib/atom-xterm-delete-profile-element'
import { AtomXtermDeleteProfileElement } from '../src/lib/delete-profile-element'

describe('AtomXtermDeleteProfileElement', () => {
this.model = null
Expand Down
2 changes: 1 addition & 1 deletion spec/delete-profile-model-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermDeleteProfileModel } from '../src/lib/atom-xterm-delete-profile-model'
import { AtomXtermDeleteProfileModel } from '../src/lib/delete-profile-model'

describe('AtomXtermDeleteProfileModel', () => {
this.atomXtermProfileMenuElement = null
Expand Down
6 changes: 3 additions & 3 deletions spec/element-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
import * as nodePty from 'node-pty-prebuilt-multiarch'
import { shell } from 'electron'

import { configDefaults } from '../src/lib/atom-xterm-config'
import { AtomXtermElement } from '../src/lib/atom-xterm-element'
import { AtomXtermModel } from '../src/lib/atom-xterm-model'
import { configDefaults } from '../src/lib/config'
import { AtomXtermElement } from '../src/lib/element'
import { AtomXtermModel } from '../src/lib/model'

import path from 'path'

Expand Down
6 changes: 3 additions & 3 deletions spec/model-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

import { Emitter } from 'atom'

import { configDefaults } from '../src/lib/atom-xterm-config'
import { AtomXtermModel, isAtomXtermModel, currentItemIsAtomXtermModel } from '../src/lib/atom-xterm-model'
import { AtomXtermProfilesSingleton } from '../src/lib/atom-xterm-profiles'
import { configDefaults } from '../src/lib/config'
import { AtomXtermModel, isAtomXtermModel, currentItemIsAtomXtermModel } from '../src/lib/model'
import { AtomXtermProfilesSingleton } from '../src/lib/profiles'

import fs from 'fs-extra'
import path from 'path'
Expand Down
2 changes: 1 addition & 1 deletion spec/overwrite-profile-element-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermOverwriteProfileElement } from '../src/lib/atom-xterm-overwrite-profile-element'
import { AtomXtermOverwriteProfileElement } from '../src/lib/overwrite-profile-element'

describe('AtomXtermOverwriteProfileElement', () => {
this.model = null
Expand Down
2 changes: 1 addition & 1 deletion spec/overwrite-profile-model-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermOverwriteProfileModel } from '../src/lib/atom-xterm-overwrite-profile-model'
import { AtomXtermOverwriteProfileModel } from '../src/lib/overwrite-profile-model'

describe('AtomXtermOverwriteProfileModel', () => {
this.atomXtermSaveProfileModel = null
Expand Down
2 changes: 1 addition & 1 deletion spec/profile-menu-element-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermProfileMenuElement } from '../src/lib/atom-xterm-profile-menu-element'
import { AtomXtermProfileMenuElement } from '../src/lib/profile-menu-element'

describe('AtomXtermProfileMenuElement', () => {
this.element = null
Expand Down
2 changes: 1 addition & 1 deletion spec/profile-menu-model-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermProfileMenuModel } from '../src/lib/atom-xterm-profile-menu-model'
import { AtomXtermProfileMenuModel } from '../src/lib/profile-menu-model'

describe('AtomXtermProfileMenuModel', () => {
this.atomXtermModel = null
Expand Down
4 changes: 2 additions & 2 deletions spec/profiles-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

import { CompositeDisposable } from 'atom'

import { configDefaults } from '../src/lib/atom-xterm-config'
import { AtomXtermProfilesSingleton } from '../src/lib/atom-xterm-profiles'
import { configDefaults } from '../src/lib/config'
import { AtomXtermProfilesSingleton } from '../src/lib/profiles'

import path from 'path'

Expand Down
2 changes: 1 addition & 1 deletion spec/save-profile-element-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermSaveProfileElement } from '../src/lib/atom-xterm-save-profile-element'
import { AtomXtermSaveProfileElement } from '../src/lib/save-profile-element'

describe('AtomXtermSaveProfileElement', () => {
this.model = null
Expand Down
4 changes: 2 additions & 2 deletions spec/save-profile-model-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermSaveProfileModel } from '../src/lib/atom-xterm-save-profile-model'
import * as atomXtermModelModule from '../src/lib/atom-xterm-model'
import { AtomXtermSaveProfileModel } from '../src/lib/save-profile-model'
import * as atomXtermModelModule from '../src/lib/model'

describe('AtomXtermSaveProfileModel', () => {
this.atomXtermProfileMenuElement = null
Expand Down
2 changes: 1 addition & 1 deletion spec/utils-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import * as utils from '../src/lib/atom-xterm-utils'
import * as utils from '../src/lib/utils'

describe('Utilities', () => {
it('clearDiv()', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/delete-profile-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { clearDiv, createHorizontalLine } from './atom-xterm-utils'
import { clearDiv, createHorizontalLine } from './utils'

class AtomXtermDeleteProfileElementImpl extends HTMLElement {
initialize (model) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/delete-profile-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermProfilesSingleton } from './atom-xterm-profiles'
import { AtomXtermProfilesSingleton } from './profiles'

class AtomXtermDeleteProfileModel {
constructor (atomXtermProfileMenuElement) {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ import { WebLinksAddon } from 'xterm-addon-web-links'
import { WebglAddon } from 'xterm-addon-webgl'
import { shell } from 'electron'

import { configDefaults, COLORS } from './atom-xterm-config'
import { AtomXtermProfileMenuElement } from './atom-xterm-profile-menu-element'
import { AtomXtermProfileMenuModel } from './atom-xterm-profile-menu-model'
import { AtomXtermProfilesSingleton } from './atom-xterm-profiles'
import { configDefaults, COLORS } from './config'
import { AtomXtermProfileMenuElement } from './profile-menu-element'
import { AtomXtermProfileMenuModel } from './profile-menu-model'
import { AtomXtermProfilesSingleton } from './profiles'

import fs from 'fs-extra'

Expand Down
2 changes: 1 addition & 1 deletion src/lib/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { Emitter } from 'atom'

import { AtomXtermProfilesSingleton } from './atom-xterm-profiles'
import { AtomXtermProfilesSingleton } from './profiles'

import fs from 'fs-extra'
import path from 'path'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/overwrite-profile-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { clearDiv, createHorizontalLine } from './atom-xterm-utils'
import { clearDiv, createHorizontalLine } from './utils'

class AtomXtermOverwriteProfileElementImpl extends HTMLElement {
initialize (model) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/overwrite-profile-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { AtomXtermProfilesSingleton } from './atom-xterm-profiles'
import { AtomXtermProfilesSingleton } from './profiles'

class AtomXtermOverwriteProfileModel {
constructor (atomXtermSaveProfileModel) {
Expand Down
10 changes: 5 additions & 5 deletions src/lib/profile-menu-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@

import { CompositeDisposable, TextEditor } from 'atom'

import { AtomXtermProfilesSingleton } from './atom-xterm-profiles'
import { AtomXtermDeleteProfileModel } from './atom-xterm-delete-profile-model'
import { AtomXtermSaveProfileModel } from './atom-xterm-save-profile-model'
import { createHorizontalLine } from './atom-xterm-utils'
import { config, COLORS } from './atom-xterm-config.js'
import { AtomXtermProfilesSingleton } from './profiles'
import { AtomXtermDeleteProfileModel } from './delete-profile-model'
import { AtomXtermSaveProfileModel } from './save-profile-model'
import { createHorizontalLine } from './utils'
import { config, COLORS } from './config.js'

class AtomXtermProfileMenuElementImpl extends HTMLElement {
async initialize (model) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/profiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { Emitter } from 'atom'

import { configDefaults, COLORS } from './atom-xterm-config'
import { configDefaults, COLORS } from './config'

import fs from 'fs-extra'
import path from 'path'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/save-profile-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

import { clearDiv } from './atom-xterm-utils'
import { clearDiv } from './utils'

class AtomXtermSaveProfileElementImpl extends HTMLElement {
initialize (model) {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/save-profile-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

import { TextEditor } from 'atom'

import { AtomXtermProfilesSingleton } from './atom-xterm-profiles'
import { AtomXtermOverwriteProfileModel } from './atom-xterm-overwrite-profile-model'
import { currentItemIsAtomXtermModel } from './atom-xterm-model'
import { AtomXtermProfilesSingleton } from './profiles'
import { AtomXtermOverwriteProfileModel } from './overwrite-profile-model'
import { currentItemIsAtomXtermModel } from './model'

class AtomXtermSaveProfileModel {
constructor (atomXtermProfileMenuElement) {
Expand Down
26 changes: 13 additions & 13 deletions src/lib/x-terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ import '../styles/atom-xterm.sass'

import { CompositeDisposable } from 'atom'

import { COLORS } from './atom-xterm-config'
import { AtomXtermElement } from './atom-xterm-element'
import { AtomXtermModel, isAtomXtermModel } from './atom-xterm-model'
import { ATOM_XTERM_BASE_URI, AtomXtermProfilesSingleton } from './atom-xterm-profiles'
import { AtomXtermProfileMenuElement } from './atom-xterm-profile-menu-element'
import { AtomXtermProfileMenuModel } from './atom-xterm-profile-menu-model'
import { AtomXtermDeleteProfileElement } from './atom-xterm-delete-profile-element'
import { AtomXtermDeleteProfileModel } from './atom-xterm-delete-profile-model'
import { AtomXtermOverwriteProfileElement } from './atom-xterm-overwrite-profile-element'
import { AtomXtermOverwriteProfileModel } from './atom-xterm-overwrite-profile-model'
import { AtomXtermSaveProfileElement } from './atom-xterm-save-profile-element'
import { AtomXtermSaveProfileModel } from './atom-xterm-save-profile-model'
import { COLORS } from './config'
import { AtomXtermElement } from './element'
import { AtomXtermModel, isAtomXtermModel } from './model'
import { ATOM_XTERM_BASE_URI, AtomXtermProfilesSingleton } from './profiles'
import { AtomXtermProfileMenuElement } from './profile-menu-element'
import { AtomXtermProfileMenuModel } from './profile-menu-model'
import { AtomXtermDeleteProfileElement } from './delete-profile-element'
import { AtomXtermDeleteProfileModel } from './delete-profile-model'
import { AtomXtermOverwriteProfileElement } from './overwrite-profile-element'
import { AtomXtermOverwriteProfileModel } from './overwrite-profile-model'
import { AtomXtermSaveProfileElement } from './save-profile-element'
import { AtomXtermSaveProfileModel } from './save-profile-model'

import { URL } from 'whatwg-url'

Expand Down Expand Up @@ -433,7 +433,7 @@ class AtomXtermSingleton {
}
}

export { config } from './atom-xterm-config'
export { config } from './config'

export function activate (state) {
return AtomXtermSingleton.instance.activate(state)
Expand Down

0 comments on commit 042d4f0

Please sign in to comment.