From 2d885496a372813dce3c4bd91903e09ba91b64b3 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Tue, 25 Nov 2014 14:19:00 -0800 Subject: [PATCH] Update to new menu format --- .../packages/package-with-menus-manifest/menus/menu-1.cson | 5 +++-- .../packages/package-with-menus-manifest/menus/menu-2.cson | 5 +++-- .../packages/package-with-menus-manifest/menus/menu-3.cson | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/spec/fixtures/packages/package-with-menus-manifest/menus/menu-1.cson b/spec/fixtures/packages/package-with-menus-manifest/menus/menu-1.cson index 98edb7e5e..f35a42726 100644 --- a/spec/fixtures/packages/package-with-menus-manifest/menus/menu-1.cson +++ b/spec/fixtures/packages/package-with-menus-manifest/menus/menu-1.cson @@ -3,5 +3,6 @@ ] 'context-menu': - '.test-1': - 'Menu item 1': 'command-1' + '.test-1': [ + {label: 'Menu item 1', command: 'command-1'} + ] diff --git a/spec/fixtures/packages/package-with-menus-manifest/menus/menu-2.cson b/spec/fixtures/packages/package-with-menus-manifest/menus/menu-2.cson index 876a4f623..e67b879d1 100644 --- a/spec/fixtures/packages/package-with-menus-manifest/menus/menu-2.cson +++ b/spec/fixtures/packages/package-with-menus-manifest/menus/menu-2.cson @@ -3,5 +3,6 @@ ] 'context-menu': - '.test-1': - 'Menu item 2': 'command-2' + '.test-1': [ + {label: 'Menu item 2', command: 'command-2'} + ] diff --git a/spec/fixtures/packages/package-with-menus-manifest/menus/menu-3.cson b/spec/fixtures/packages/package-with-menus-manifest/menus/menu-3.cson index 83b77430a..a93a864ab 100644 --- a/spec/fixtures/packages/package-with-menus-manifest/menus/menu-3.cson +++ b/spec/fixtures/packages/package-with-menus-manifest/menus/menu-3.cson @@ -1,3 +1,4 @@ 'context-menu': - '.test-1': - 'Menu item 3': 'command-3' + '.test-1': [ + {label: 'Menu item 3', command: 'command-3'} + ]