From 950338ed22630a303c045638f596328df2d91a59 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 3 Jun 2014 10:17:53 -0700 Subject: [PATCH] Fix linter errors --- src/context-menu-manager.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/context-menu-manager.coffee b/src/context-menu-manager.coffee index 6a9ef6c9e..a12161ce7 100644 --- a/src/context-menu-manager.coffee +++ b/src/context-menu-manager.coffee @@ -35,11 +35,11 @@ class ContextMenuManager for selector, items of object for label, commandOrSubmenu of items if typeof commandOrSubmenu is 'object' - submenu = []; + submenu = [] for submenuLabel, command of commandOrSubmenu if submenuLabel is command is '-' - submenu.push({type: 'separator'}); - else + submenu.push({type: 'separator'}) + else submenu.push({label: submenuLabel, command: command}) @addBySelector(selector, {label: label, submenu: submenu}, {devMode}) else