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