Fix lint errors
authorKevin Sawicki <kevinsawicki@gmail.com>
Tue, 21 Jun 2016 16:07:56 +0000 (09:07 -0700)
committerKevin Sawicki <kevinsawicki@gmail.com>
Tue, 21 Jun 2016 16:08:13 +0000 (09:08 -0700)
lib/browser/api/menu-item.js

index 7b5a688..f38ab97 100644 (file)
@@ -76,7 +76,7 @@ const MenuItem = (function () {
 
       if (this.role && rolesMap[this.role] && process.platform !== 'darwin' && (focusedWindow != null)) {
         const methodName = rolesMap[this.role]
-        if(methodInApp[methodName]) {
+        if (methodInApp[methodName]) {
           return app[methodName]()
         } else if (methodInBrowserWindow[methodName]) {
           return focusedWindow[methodName]()