mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove window.pasteboard shim
This commit is contained in:
@@ -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