restore clipboard.has api and fix docs

This commit is contained in:
deepak1556 2015-05-27 13:35:51 +05:30
parent 5584e3fd49
commit 4d56281972
3 changed files with 25 additions and 3 deletions

View file

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