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

whitespace fixes

This commit is contained in:
Doug Kearns
2008-08-21 22:31:06 +00:00
parent 37a2aa50fb
commit dee53e3b9f
5 changed files with 11 additions and 10 deletions

View File

@@ -31,6 +31,7 @@ liberator.Hints = function () //{{{
////////////////////////////////////////////////////////////////////////////////
////////////////////// PRIVATE SECTION /////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
var modes = liberator.config.browserModes || [liberator.modes.NORMAL];
var submode = ""; // used for extended mode, can be "o", "t", "y", etc.
@@ -183,7 +184,7 @@ liberator.Hints = function () //{{{
span = hints[i][2];
imgspan = hints[i][3];
if (! validHint(text))
if (!validHint(text))
{
span.style.display = "none";
if (imgspan)
@@ -471,7 +472,7 @@ liberator.Hints = function () //{{{
if (prevCharIdx == charIdx)
{
if (! allowWordOverleaping)
if (!allowWordOverleaping)
return false;
}
else
@@ -499,7 +500,7 @@ liberator.Hints = function () //{{{
strIdx++;
else if (word.indexOf(str) == 0)
strIdx++;
else if (! allowWordOverleaping)
else if (!allowWordOverleaping)
return false;
if (strIdx == strings.length)