diff options
author | siikamiika <siikamiika@users.noreply.github.com> | 2020-01-26 03:31:31 +0200 |
---|---|---|
committer | siikamiika <siikamiika@users.noreply.github.com> | 2020-02-09 21:51:33 +0200 |
commit | 90a5d795708898fba940f77358269354e96355a7 (patch) | |
tree | d77eea8b005848d5528c539ace87232cc624f0cd /ext/bg/js/api.js | |
parent | c685fd0e5f90c32911a225f0aaa68f5ff9fdfb7b (diff) |
use ClipboardMonitor in Backend
Diffstat (limited to 'ext/bg/js/api.js')
-rw-r--r-- | ext/bg/js/api.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/api.js b/ext/bg/js/api.js index 285b8016..f4be7a0c 100644 --- a/ext/bg/js/api.js +++ b/ext/bg/js/api.js @@ -29,6 +29,10 @@ function apiGetDisplayTemplatesHtml() { return _apiInvoke('getDisplayTemplatesHtml'); } +function apiClipboardGet() { + return _apiInvoke('clipboardGet'); +} + function _apiInvoke(action, params={}) { const data = {action, params}; return new Promise((resolve, reject) => { |