mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 04:07:58 +01:00
add missing semicolons
This commit is contained in:
@@ -451,7 +451,7 @@ liberator.Buffer = function () //{{{
|
||||
|
||||
liberator.commands.add(["vie[wsource]"],
|
||||
"View source code of current document",
|
||||
function (args, special) { liberator.buffer.viewSource(args, special) });
|
||||
function (args, special) { liberator.buffer.viewSource(args, special); });
|
||||
|
||||
liberator.commands.add(["zo[om]"],
|
||||
"Set zoom value of current web page",
|
||||
@@ -589,7 +589,7 @@ liberator.Buffer = function () //{{{
|
||||
// argument "args" is something like: @id='myid' or @type='text' (don't forget the quotes around myid)
|
||||
getElement: function (args, index)
|
||||
{
|
||||
return liberator.buffer.evaluateXPath("//*[" + (args || "") + "]").snapshotItem(index || 0)
|
||||
return liberator.buffer.evaluateXPath("//*[" + (args || "") + "]").snapshotItem(index || 0);
|
||||
},
|
||||
|
||||
// artificially "clicks" a link in order to open it
|
||||
|
||||
@@ -338,8 +338,8 @@ liberator.Hints = function () //{{{
|
||||
case "V": liberator.buffer.viewSource(loc, true); break;
|
||||
case "w": liberator.buffer.followLink(elem, liberator.NEW_WINDOW); break;
|
||||
case "W": liberator.commandline.open(":", "winopen " + loc, liberator.modes.EX); break;
|
||||
case "y": setTimeout(function () { liberator.util.copyToClipboard(loc, true) }, timeout + 50); break;
|
||||
case "Y": setTimeout(function () { liberator.util.copyToClipboard(elem.textContent || "", true) }, timeout + 50); break;
|
||||
case "y": setTimeout(function () { liberator.util.copyToClipboard(loc, true); }, timeout + 50); break;
|
||||
case "Y": setTimeout(function () { liberator.util.copyToClipboard(elem.textContent || "", true); }, timeout + 50); break;
|
||||
default:
|
||||
liberator.echoerr("INTERNAL ERROR: unknown submode: " + submode);
|
||||
}
|
||||
|
||||
@@ -130,6 +130,6 @@ liberator.config = {
|
||||
}, true);*/
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// vim: set fdm=marker sw=4 ts=4 et:
|
||||
|
||||
Reference in New Issue
Block a user