projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a712d4
)
Add 'Quit' to spec window's menu.
author
Cheng Zhao
<zcbenz@gmail.com>
Thu, 10 Oct 2013 06:33:42 +0000
(14:33 +0800)
committer
Cheng Zhao
<zcbenz@gmail.com>
Thu, 10 Oct 2013 06:33:42 +0000
(14:33 +0800)
spec/main.js
patch
|
blob
|
history
diff --git
a/spec/main.js
b/spec/main.js
index
d5bad14
..
77edf91
100644
(file)
--- 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',