From: Sunny Date: Mon, 23 Nov 2015 05:40:23 +0000 (+0800) Subject: docs: Fix deprecated usage tips X-Git-Tag: v0.35.2~22^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6d46c3a75e984be04ee502f0c03018f9f8d6845c;p=electron.git docs: Fix deprecated usage tips --- diff --git a/docs/api/menu.md b/docs/api/menu.md index 1d819682..b5f2fbe9 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -225,7 +225,7 @@ will be set as each window's top menu. Sends the `action` to the first responder of application. This is used for emulating default Cocoa menu behaviors, usually you would just use the -`selector` property of `MenuItem`. +`role` property of `MenuItem`. ### `Menu.buildFromTemplate(template)`