Remove dimension shims on window

This commit is contained in:
Kevin Sawicki
2013-10-18 08:43:02 -07:00
parent df7c3d066a
commit bff47e10f4
2 changed files with 2 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
require '../src/window'
window.setUpEnvironment('spec')
window.restoreDimensions()
atom.restoreDimensions()
require '../vendor/jasmine-jquery'
path = require 'path'

View File

@@ -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()