1
0
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:
Doug Kearns
2008-05-27 16:13:49 +00:00
parent ddd082003e
commit 9cb7ae4f36
3 changed files with 18 additions and 18 deletions

View File

@@ -451,7 +451,7 @@ liberator.Buffer = function () //{{{
liberator.commands.add(["vie[wsource]"], liberator.commands.add(["vie[wsource]"],
"View source code of current document", "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]"], liberator.commands.add(["zo[om]"],
"Set zoom value of current web page", "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) // argument "args" is something like: @id='myid' or @type='text' (don't forget the quotes around myid)
getElement: function (args, index) 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 // artificially "clicks" a link in order to open it

View File

@@ -338,8 +338,8 @@ liberator.Hints = function () //{{{
case "V": liberator.buffer.viewSource(loc, true); break; case "V": liberator.buffer.viewSource(loc, true); break;
case "w": liberator.buffer.followLink(elem, liberator.NEW_WINDOW); break; case "w": liberator.buffer.followLink(elem, liberator.NEW_WINDOW); break;
case "W": liberator.commandline.open(":", "winopen " + loc, liberator.modes.EX); 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(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(elem.textContent || "", true); }, timeout + 50); break;
default: default:
liberator.echoerr("INTERNAL ERROR: unknown submode: " + submode); liberator.echoerr("INTERNAL ERROR: unknown submode: " + submode);
} }

View File

@@ -130,6 +130,6 @@ liberator.config = {
}, true);*/ }, true);*/
} }
} }
} };
// vim: set fdm=marker sw=4 ts=4 et: // vim: set fdm=marker sw=4 ts=4 et: