From edd807d2271634dbe1228f13863a034e5801ed29 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 12 Nov 2015 22:56:18 +0800 Subject: [PATCH] Fix a typo --- atom/browser/api/lib/app.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/browser/api/lib/app.coffee b/atom/browser/api/lib/app.coffee index 0113e90a1a1f..3494a6e6e431 100644 --- a/atom/browser/api/lib/app.coffee +++ b/atom/browser/api/lib/app.coffee @@ -9,10 +9,10 @@ app = bindings.app app.__proto__ = EventEmitter.prototype app.setApplicationMenu = (menu) -> - electron.menu.setApplicationMenu menu + electron.Menu.setApplicationMenu menu app.getApplicationMenu = -> - electron.menu.getApplicationMenu() + electron.Menu.getApplicationMenu() app.commandLine = appendSwitch: bindings.appendSwitch,