diff --git a/spec/root-view-spec.coffee b/spec/root-view-spec.coffee index 1363299da..aae9590e8 100644 --- a/spec/root-view-spec.coffee +++ b/spec/root-view-spec.coffee @@ -365,11 +365,3 @@ describe "RootView", -> rootView.open(require.resolve('fixtures/sample.txt')) expect(count).toBe 1 expect(callbackBuffer).toBe rootView.getActiveView().getBuffer() - - describe "when a 'new-editor' event is triggered", -> - it "opens a new untitled editor", -> - itemCount = rootView.getActivePane().getItems().length - rootView.trigger 'new-editor' - expect(rootView.getActivePaneItem().getPath()).toBeUndefined() - expect(rootView.getActivePaneItem().getBuffer().fileExists()).toBeFalsy() - expect(rootView.getActivePane().getItems().length).toBe itemCount + 1 diff --git a/src/atom.coffee b/src/atom.coffee index 89bd0b30d..c8dae3e43 100644 --- a/src/atom.coffee +++ b/src/atom.coffee @@ -132,13 +132,6 @@ window.atom = open: (url...) -> ipc.sendChannel('open', [url...]) - - openDev: (url...) -> - ipc.sendChannel('open-dev', [url...]) - - newWindow: -> - ipc.sendChannel('new-window') - openWindow: (windowSettings) -> ipc.sendChannel('open-window', windowSettings) @@ -254,9 +247,6 @@ window.atom = else @windowState - update: -> - ipc.sendChannel 'install-update' - crashMainProcess: -> remote.process.crash() diff --git a/src/root-view.coffee b/src/root-view.coffee index 221354700..6679f0854 100644 --- a/src/root-view.coffee +++ b/src/root-view.coffee @@ -86,9 +86,6 @@ class RootView extends View @command 'pane:reopen-closed-item', => @panes.reopenItem() - @command 'new-editor', => - @open() - _.nextTick => atom.setFullScreen(@state.get('fullScreen')) serialize: ->