Rename Atom to AtomEnvironment

This commit is contained in:
Nathan Sobo
2015-10-05 15:09:52 -06:00
parent 2479b0cae2
commit d9776abea6
3 changed files with 5 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ TextEditorElement = require './text-editor-element'
#
# An instance of this class is always available as the `atom` global.
module.exports =
class Atom extends Model
class AtomEnvironment extends Model
@version: 1 # Increment this when the serialization format changes
workspaceParentSelectorctor: 'body'

View File

@@ -14,8 +14,8 @@ process.env.NODE_PATH = exportsPath
# Make React faster
process.env.NODE_ENV ?= 'production' unless devMode
Atom = require './atom'
window.atom = new Atom
AtomEnvironment = require './atom-environment'
window.atom = new AtomEnvironment
atom.displayWindow()
atom.loadStateSync()

View File

@@ -6,8 +6,8 @@ try
ipc = require 'ipc'
require '../src/window'
Atom = require '../src/atom'
window.atom = new Atom
AtomEnvironment = require '../src/atom-environment'
window.atom = new AtomEnvironment
# Show window synchronously so a focusout doesn't fire on input elements
# that are focused in the very first spec run.