From a2f73fd6b007b97b2393eaf66c4dffb51c87916e Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 9 Apr 2014 10:13:09 -0700 Subject: [PATCH] Remove unneeded fat arrows --- src/window-event-handler.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/window-event-handler.coffee b/src/window-event-handler.coffee index 2f636d1e8..002bfd20e 100644 --- a/src/window-event-handler.coffee +++ b/src/window-event-handler.coffee @@ -43,15 +43,15 @@ class WindowEventHandler @subscribe $(window), 'unload', -> atom.storeWindowDimensions() - @subscribeToCommand $(window), 'window:toggle-full-screen', => atom.toggleFullScreen() + @subscribeToCommand $(window), 'window:toggle-full-screen', -> atom.toggleFullScreen() - @subscribeToCommand $(window), 'window:close', => atom.close() + @subscribeToCommand $(window), 'window:close', -> atom.close() @subscribeToCommand $(window), 'window:reload', => @reloadRequested = true atom.reload() - @subscribeToCommand $(window), 'window:toggle-dev-tools', => atom.toggleDevTools() + @subscribeToCommand $(window), 'window:toggle-dev-tools', -> atom.toggleDevTools() @subscribeToCommand $(document), 'core:focus-next', @focusNext @@ -95,7 +95,7 @@ class WindowEventHandler bindCommandToAction('core:redo', 'redo:') bindCommandToAction('core:select-all', 'selectAll:') - openLink: (event) => + openLink: (event) -> location = $(event.target).attr('href') if location and location[0] isnt '#' and /^https?:\/\//.test(location) shell.openExternal(location)