Ignore menu items for now.

This commit is contained in:
Corey Johnson
2012-02-27 13:56:44 -08:00
parent bc404bfffb
commit 0845fc15c8
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ describe "Window", ->
expect($('head style').length).toBe 1
describe "bindMenuItem(path, keyPattern, action)", ->
xdescribe "bindMenuItem(path, keyPattern, action)", ->
it "causes the given menu item to be added to the menu when the window is focused and removed when it is blurred", ->
addedPaths = []
spyOn(atom.native, 'addMenuItem').andCallFake (path) -> addedPaths.push(path)

View File

@@ -6,7 +6,7 @@ describe "Native", ->
beforeEach ->
nativeModule = new Native
describe "addMenuItem(path, keyPattern)", ->
xdescribe "addMenuItem(path, keyPattern)", ->
mainMenu = null
mainMenuItems = null

View File

@@ -35,7 +35,7 @@ class Native
$native.readFromPasteboard()
resetMainMenu: (menu) ->
OSX.NSApp.resetMainMenu
# OSX.NSApp.resetMainMenu
addMenuItem: (itemPath, keyPattern) ->
itemPathComponents = itemPath.split /\s*>\s*/