mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Use off() instead of unbind()
unbind() is so pre-jQuery 1.7
This commit is contained in:
@@ -52,8 +52,8 @@ windowAdditions =
|
||||
atom.setWindowState('pathToOpen', @rootView.project.getPath())
|
||||
@rootView.deactivate()
|
||||
@rootView = null
|
||||
$(window).unbind('focus')
|
||||
$(window).unbind('blur')
|
||||
$(window).off('focus')
|
||||
$(window).off('blur')
|
||||
$(window).off('before')
|
||||
|
||||
setUpKeymap: ->
|
||||
|
||||
Reference in New Issue
Block a user