From 83f14c137cc418ca0c0e07f09f6e40a230de6cda Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 19 Nov 2013 14:03:44 -0800 Subject: [PATCH] Remove window.pasteboard shim --- package.json | 6 +++--- src/editor.coffee | 2 +- src/window.coffee | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 352d6aae1..36501579b 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,7 @@ "exception-reporting": "0.7.0", "find-and-replace": "0.42.0", "fuzzy-finder": "0.20.0", - "gists": "0.6.0", + "gists": "0.7.0", "git-diff": "0.13.0", "github-sign-in": "0.9.0", "go-to-line": "0.8.0", @@ -102,9 +102,9 @@ "styleguide": "0.10.0", "symbols-view": "0.20.0", "tabs": "0.8.0", - "terminal": "0.16.0", + "terminal": "0.17.0", "timecop": "0.9.0", - "to-the-hubs": "0.9.0", + "to-the-hubs": "0.10.0", "tree-view": "0.31.0", "visual-bell": "0.3.0", "whitespace": "0.8.0", diff --git a/src/editor.coffee b/src/editor.coffee index 9a38fb173..ed14e6e9a 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -1721,7 +1721,7 @@ class Editor extends View # Copies the current file path to the native clipboard. copyPathToPasteboard: -> path = @getPath() - pasteboard.write(path) if path? + atom.pasteboard.write(path) if path? ### Internal ### diff --git a/src/window.coffee b/src/window.coffee index 8c955662a..34a0d80ee 100644 --- a/src/window.coffee +++ b/src/window.coffee @@ -25,7 +25,6 @@ window.setUpEnvironment = (windowMode) -> #TODO remove once all packages use the atom global window.config = atom.config window.syntax = atom.syntax - window.pasteboard = atom.pasteboard window.keymap = atom.keymap window.site = atom.site