From 7333e403b7021c3daa4000e1fd8ec70c435ea86f Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Mon, 11 Jan 2016 10:47:32 -0800 Subject: [PATCH] missing "var" in line 201 menu.md in line 201 at menu.md, should be ```var menu = Menu.buildFromTemplate(template);``` --- docs/api/menu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/menu.md b/docs/api/menu.md index b5f2fbe95..38069140a 100644 --- a/docs/api/menu.md +++ b/docs/api/menu.md @@ -198,7 +198,7 @@ if (process.platform == 'darwin') { ); } -menu = Menu.buildFromTemplate(template); +var menu = Menu.buildFromTemplate(template); Menu.setApplicationMenu(menu); ```