restore clipboard.has api and fix docs
This commit is contained in:
parent
5584e3fd49
commit
4d56281972
3 changed files with 25 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
binding = process.atomBinding 'clipboard'
|
||||
module.exports =
|
||||
availableFormats: (type='standard') -> binding._availableFormats type
|
||||
has: (format, type='standard') -> binding._has format, type
|
||||
read: (format, type='standard') -> binding._read format, type
|
||||
readText: (type='standard') -> binding._readText type
|
||||
writeText: (text, type='standard') -> binding._writeText text, type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue