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

use the singleton construction idiom to create vimperator.tabs

This commit is contained in:
Doug Kearns
2007-11-12 12:29:54 +00:00
parent 68f1597c38
commit 695fd63e91
7 changed files with 178 additions and 179 deletions

View File

@@ -529,7 +529,7 @@ vimperator.Buffer = function () //{{{
urlSecurityCheck(aData.href, aPrincipal,
Components.interfaces.nsIScriptSecurityManager.DISALLOW_INHERIT_PRINCIPAL);
}
catch(ex)
catch (ex)
{
aIsFeed = false;
}
@@ -545,7 +545,7 @@ vimperator.Buffer = function () //{{{
function createTable(data)
{
var ret = "<table><tr><th class='hl-Title' style='font-weight: bold;' align='left' colspan='2'>" +
data[data.length -1][0] + "</th></tr>";
data[data.length - 1][0] + "</th></tr>";
if (data.length - 1)
{