1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 06:38:12 +01:00

whitespace fixes

This commit is contained in:
Doug Kearns
2007-11-29 12:39:38 +00:00
parent 89efa429a8
commit c3f142b07d
4 changed files with 73 additions and 73 deletions

View File

@@ -696,7 +696,7 @@ vimperator.Commands = function () //{{{
default: vimperator.echoerr("Dialog '" + args + "' not available"); default: vimperator.echoerr("Dialog '" + args + "' not available");
} }
} }
catch(err) catch (err)
{ {
vimperator.echoerr("Error opening '" + args + "': " + err); vimperator.echoerr("Error opening '" + args + "': " + err);
} }

View File

@@ -848,7 +848,7 @@ vimperator.Mappings = function () //{{{
var regex = /(.*?)(-?\d+)(\D*)$/; var regex = /(.*?)(-?\d+)(\D*)$/;
var res = url.match(regex); var res = url.match(regex);
if(!res || !res[2]) // no number to increment if (!res || !res[2]) // no number to increment
{ {
vimperator.beep(); vimperator.beep();
return; return;
@@ -865,7 +865,7 @@ vimperator.Mappings = function () //{{{
vimperator.open(res[1] + newNum + res[3]); vimperator.open(res[1] + newNum + res[3]);
} }
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["<C-x>"], addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["<C-x>"],
function (count) { if(count < 1) count = 1; incrementURL(-count); }, function (count) { if (count < 1) count = 1; incrementURL(-count); },
{ {
shortHelp: "Decrement last number in URL", shortHelp: "Decrement last number in URL",
help: "Decrements the last number in URL by 1, or by <code class=\"argument\">count</code> if given.", help: "Decrements the last number in URL by 1, or by <code class=\"argument\">count</code> if given.",
@@ -873,7 +873,7 @@ vimperator.Mappings = function () //{{{
} }
)); ));
addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["<C-a>"], addDefaultMap(new vimperator.Map([vimperator.modes.NORMAL], ["<C-a>"],
function (count) { if(count < 1) count = 1; incrementURL(count); }, function (count) { if (count < 1) count = 1; incrementURL(count); },
{ {
shortHelp: "Increment last number in URL", shortHelp: "Increment last number in URL",
help: "Increments the last number in URL by 1, or by <code class=\"argument\">count</code> if given.", help: "Increments the last number in URL by 1, or by <code class=\"argument\">count</code> if given.",