diff options
Diffstat (limited to 'lib/clipboard.js')
-rw-r--r-- | lib/clipboard.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/clipboard.js b/lib/clipboard.js index ea14903..0051a55 100644 --- a/lib/clipboard.js +++ b/lib/clipboard.js @@ -6,12 +6,8 @@ * @return string with the content of the clipboard or "" if empty. * originally from * https://developer.mozilla.org/en/Using_the_Clipboard - * + * https://wiki.mozilla.org/Labs/Jetpack/JEP/10 */ -// TODO to-be-replaced by -// var contents = jetpack.clipboard.get(); -// http://hsivonen.iki.fi/kesakoodi/clipboard/ -// https://wiki.mozilla.org/Labs/Jetpack/JEP/10 function getClipboard() { var clip = Cc["@mozilla.org/widget/clipboard;1"]. @@ -103,11 +99,6 @@ var setMethod = exports.set = function setMethod(content, flavor) { return true; }; -function createSupportsWString() { - return Cc["@mozilla.org/supports-wstring;1"]. - createInstance(Ci.nsISupportsWString); -} - var flavorsMethod = exports.getCurrentFlavors = function flavorsMethod(test) { // currently the only possible flavors in Jetpack-prototype are "plain" and // "html", i.e., "text/plain" (or text/unicode?) and "text/html" (or |