Remove window.pasteboard shim

This commit is contained in:
Kevin Sawicki
2013-11-19 14:03:44 -08:00
parent f4de124aa6
commit 83f14c137c
3 changed files with 4 additions and 5 deletions

View File

@@ -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",

View File

@@ -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 ###

View File

@@ -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