mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Remove window.pasteboard shim
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 ###
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user