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

whitespace fixes

This commit is contained in:
Doug Kearns
2008-06-06 13:47:51 +00:00
parent d79224b4cd
commit 5beaa4ca6c
6 changed files with 42 additions and 38 deletions

View File

@@ -181,7 +181,7 @@ liberator.Completion = function () //{{{
searchEngineSuggest: function (filter, engineAliases)
{
if (!filter)
return [0,null];
return [0, null];
var engineList = (engineAliases || liberator.options["suggestengines"]).split(",");
var responseType = "application/x-suggestions+json";
@@ -218,7 +218,7 @@ liberator.Completion = function () //{{{
// make sure we receive strings, otherwise a man-in-the-middle attack
// could return objects which toString() method could be called to
// execute untrusted code
if(typeof(item) != "string")
if (typeof item != "string")
return;
completions.push([(matches ? matches[1] : "") + item, engine.name + " suggestion"]);