More capp_linting.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2010-12-09 13:45:29 -08:00
parent 3cda75986b
commit d69f46f7ee
32 changed files with 305 additions and 287 deletions
+4 -3
View File
@@ -485,7 +485,7 @@ var CPStringRegexSpecialCharacters = [
rhs = rhs.toLowerCase();
}
if(aMask & CPDiacriticInsensitiveSearch)
if (aMask & CPDiacriticInsensitiveSearch)
{
lhs = lhs.stripDiacritics();
rhs = rhs.stripDiacritics();
@@ -493,7 +493,8 @@ var CPStringRegexSpecialCharacters = [
if (lhs < rhs)
return CPOrderedAscending;
else if (lhs > rhs)
if (lhs > rhs)
return CPOrderedDescending;
return CPOrderedSame;
@@ -818,7 +819,7 @@ String.prototype.stripDiacritics = function ()
{
var drange = diacritics[i];
if (code >= drange[0] && code <= drange[drange.length-1])
if (code >= drange[0] && code <= drange[drange.length - 1])
{
code = normalized[i];
break;