diff --git a/lib/browser/api/menu.js b/lib/browser/api/menu.js index 292dab68553b..167e9a744ec0 100644 --- a/lib/browser/api/menu.js +++ b/lib/browser/api/menu.js @@ -272,7 +272,7 @@ Menu.getApplicationMenu = function () { Menu.sendActionToFirstResponder = bindings.sendActionToFirstResponder Menu.buildFromTemplate = function (template) { - var insertIndex, item, j, k, key, len, len1, menu, menuItem, positionedTemplate + var insertIndex, item, j, k, len, len1, menu, menuItem, positionedTemplate if (!Array.isArray(template)) { throw new TypeError('Invalid template for Menu') }