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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user