From: Cheng Zhao Date: Thu, 10 Oct 2013 06:33:42 +0000 (+0800) Subject: Add 'Quit' to spec window's menu. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9a2fc8f4ea9de9f063b022a59eb8d231080f7e77;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Add 'Quit' to spec window's menu. --- diff --git a/spec/main.js b/spec/main.js index d5bad14..77edf91 100644 --- a/spec/main.js +++ b/spec/main.js @@ -42,7 +42,17 @@ app.on('window-all-closed', function() { app.on('finish-launching', function() { var template = [ { - label: 'File', + label: 'Atom', + submenu: [ + { + label: 'Quit', + accelerator: 'Command+Q', + click: function(item, window) { app.quit(); } + }, + ], + }, + { + label: 'Window', submenu: [ { label: 'Open',