From 17825edf66e29d7096cc04de4566d5e2740faf0e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 5 Feb 2013 13:12:54 -0800 Subject: [PATCH] Use off() instead of unbind() unbind() is so pre-jQuery 1.7 --- src/app/window.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/window.coffee b/src/app/window.coffee index 1bea3a6d9..4b734fd6a 100644 --- a/src/app/window.coffee +++ b/src/app/window.coffee @@ -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: ->