mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Shim window.restoreDimensions to atom
This commit is contained in:
@@ -108,6 +108,8 @@ 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