mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove dimension shims on window
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
require '../src/window'
|
||||
window.setUpEnvironment('spec')
|
||||
window.restoreDimensions()
|
||||
atom.restoreDimensions()
|
||||
|
||||
require '../vendor/jasmine-jquery'
|
||||
path = require 'path'
|
||||
|
||||
@@ -47,7 +47,7 @@ window.startEditorWindow = ->
|
||||
installApmCommand()
|
||||
|
||||
windowEventHandler = new WindowEventHandler
|
||||
restoreDimensions()
|
||||
atom.restoreDimensions()
|
||||
atom.config.load()
|
||||
atom.keymap.loadBundledKeymaps()
|
||||
atom.themes.loadBaseStylesheets()
|
||||
@@ -94,12 +94,6 @@ window.deserializeEditorWindow = ->
|
||||
atom.deserializeRootView()
|
||||
window.rootView = atom.rootView
|
||||
|
||||
window.getDimensions = -> atom.getDimensions()
|
||||
|
||||
window.setDimensions = (args...) -> atom.setDimensions(args...)
|
||||
|
||||
window.restoreDimensions = (args...) -> atom.restoreDimensions(args...)
|
||||
|
||||
window.onerror = ->
|
||||
atom.openDevTools()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user