1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 03:42:26 +01:00

fix whitespace

This commit is contained in:
Doug Kearns
2007-10-27 11:01:24 +00:00
parent 28c4f88b55
commit bb08123118

View File

@@ -217,10 +217,10 @@ vimperator.Commands = function() //{{{
else
{
// only escape "\\" and "\ " in non quoted strings
if (!in_single_string && !in_double_string && str[i+1] != "\\" && str[i+1] != " ")
if (!in_single_string && !in_double_string && str[i + 1] != "\\" && str[i + 1] != " ")
continue outer;
// only escape "\\" and "\'" in single quoted strings
else if (in_single_string && str[i+1] != "\\" && str[i+1] != "'")
else if (in_single_string && str[i + 1] != "\\" && str[i + 1] != "'")
break;
else
{
@@ -276,7 +276,7 @@ vimperator.Commands = function() //{{{
var count = 0; // the length of the argument
var i = 0;
outer:
while(i < str.length)
while (i < str.length)
{
// skip whitespace
if (/\s/.test(str[i]))