aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libbugzilla.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r--lib/libbugzilla.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js
index 600d193..bdcf8fb 100644
--- a/lib/libbugzilla.js
+++ b/lib/libbugzilla.js
@@ -204,6 +204,10 @@ exports.getClipboard = function getClipboard(cb) {
cb(clipboard.get());
};
+exports.setClipboard = function setClipboard(stuff) {
+ clipboard.set(stuff, "text");
+};
+
exports.getURL = function getURL(url, callback) {
Request({
url: url,