1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 10:54:13 +01:00

Remove some Hungarian notation.

This commit is contained in:
Doug Kearns
2009-05-12 18:24:12 +10:00
parent a1c53bbdb0
commit 47a5c73a5b
4 changed files with 16 additions and 15 deletions

View File

@@ -601,19 +601,19 @@ function Bookmarks() //{{{
getSearchURL: function getSearchURL(text, useDefsearch)
{
let url = null;
let aPostDataRef = {};
let postData = {};
let searchString = (useDefsearch ? options["defsearch"] + " " : "") + text;
// we need to make sure our custom alias have been set, even if the user
// did not :open <tab> once before
this.getSearchEngines();
url = window.getShortcutOrURI(searchString, aPostDataRef);
url = window.getShortcutOrURI(searchString, postData);
if (url == searchString)
url = null;
if (aPostDataRef && aPostDataRef.value)
return [url, aPostDataRef.value];
if (postData && postData.value)
return [url, postData.value];
else
return url; // can be null
},