1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 21:17:58 +01:00

move the global copyToClipboard() to a slot in vimperator

This commit is contained in:
Doug Kearns
2007-08-05 06:43:40 +00:00
parent 022e455d48
commit b9bbc07ad2
4 changed files with 11 additions and 11 deletions

View File

@@ -1324,13 +1324,6 @@ function scrollBufferAbsolute(horizontal, vertical)
// misc helper functions ///////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////{{{
function copyToClipboard(str)
{
var clipboardHelper = Components.classes["@mozilla.org/widget/clipboardhelper;1"]
.getService(Components.interfaces.nsIClipboardHelper);
clipboardHelper.copyString(str);
}
// returns an XPathResult object
function evaluateXPath(expression, doc, ordered)
{