From 03434f45bb7cca242bf196857fcff077d1d0c33f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Machist=C3=A9=20N=2E=20Quintana?= Date: Mon, 7 Mar 2016 15:50:33 -0800 Subject: [PATCH] Map webContents.delete to role --- atom/browser/api/lib/menu-item.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/atom/browser/api/lib/menu-item.js b/atom/browser/api/lib/menu-item.js index eef8881cf528..4f449ecc0159 100644 --- a/atom/browser/api/lib/menu-item.js +++ b/atom/browser/api/lib/menu-item.js @@ -11,7 +11,8 @@ rolesMap = { paste: 'paste', selectall: 'selectAll', minimize: 'minimize', - close: 'close' + close: 'close', + delete: 'delete' }; // Maps methods that should be called directly on the BrowserWindow instance