Remove core:close event from window

This commit is contained in:
Corey Johnson
2013-03-12 15:54:22 -07:00
parent 4755233f92
commit f7f034ad2a

View File

@@ -87,7 +87,6 @@ window.installAtomCommand = (commandPath) ->
ChildProcess.exec("chmod u+x '#{commandPath}'")
window.handleWindowEvents = ->
$(window).on 'core:close', => window.close()
$(window).command 'window:toggle-full-screen', => atom.toggleFullScreen()
$(window).on 'focus', -> $("body").removeClass('is-blurred')
$(window).on 'blur', -> $("body").addClass('is-blurred')