Use off() instead of unbind()

unbind() is so pre-jQuery 1.7
This commit is contained in:
Kevin Sawicki
2013-02-05 13:12:54 -08:00
parent ba811c4119
commit 17825edf66

View File

@@ -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: ->