]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: Fix deprecated usage tips
authorSunny <ratsunny@gmail.com>
Mon, 23 Nov 2015 05:40:23 +0000 (13:40 +0800)
committerSunny <ratsunny@gmail.com>
Mon, 23 Nov 2015 05:40:23 +0000 (13:40 +0800)
docs/api/menu.md

index 1d819682160b797911c4533195762599b2d9135f..b5f2fbe9516ebcf624d12dc18a0d39444d9a3846 100644 (file)
@@ -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)`