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

replace tabs with spaces

This commit is contained in:
Doug Kearns
2008-09-23 12:53:14 +00:00
parent 851d8d8383
commit 23086014e2
5 changed files with 67 additions and 67 deletions

View File

@@ -307,15 +307,15 @@ liberator.CommandLine = function () //{{{
"Engine Alias which has a feature of suggest",
"stringlist", "google",
{
validator: function (value)
{
var ss = Components.classes["@mozilla.org/browser/search-service;1"]
.getService(Components.interfaces.nsIBrowserSearchService);
return value.split(",").every(function (item) {
var e = ss.getEngineByAlias(item);
return (e && e.supportsResponseType("application/x-suggestions+json")) ? true : false;
});
}
validator: function (value)
{
var ss = Components.classes["@mozilla.org/browser/search-service;1"]
.getService(Components.interfaces.nsIBrowserSearchService);
return value.split(",").every(function (item) {
var e = ss.getEngineByAlias(item);
return (e && e.supportsResponseType("application/x-suggestions+json")) ? true : false;
});
}
});
liberator.options.add(["showmode", "smd"],