Declare atom.hasTiledEditor = true

This way packages that are affected by relative coordinates will be
able to smoothly upgrade using a feature toggle.
This commit is contained in:
Antonio Scandurra
2015-05-27 09:01:41 +02:00
parent 80a3294f8e
commit 7926ca5f23

View File

@@ -34,6 +34,8 @@ class Atom extends Model
atom = @deserialize(@loadState(mode)) ? new this({mode, @version})
atom.deserializeTimings.atom = Date.now() - startTime
Object.defineProperty(atom, "hasTiledEditor", value: true)
if includeDeprecatedAPIs
workspaceViewDeprecationMessage = """
atom.workspaceView is no longer available.