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

don't use Cc and Ci globals

This commit is contained in:
Doug Kearns
2008-09-01 07:15:23 +00:00
parent f76d0c3ccd
commit d4386e16fb
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ liberator.config = { //{{{
["checkupdates", "Check for updates",
function () { checkForUpdates(); }],
/*["cleardata", "Clear private data",
function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],*/
function () { Components.classes[GLUE_CID].getService(Components.interfaces.nsIBrowserGlue).sanitize(window || null); }],*/
["console", "JavaScript console",
function () { toJavaScriptConsole(); }],
/*["customizetoolbar", "Customize the Toolbar",

View File

@@ -59,7 +59,7 @@ liberator.config = { //{{{
["checkupdates", "Check for updates",
function () { checkForUpdates(); }],
["cleardata", "Clear private data",
function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],
function () { Components.classes[GLUE_CID].getService(Components.interfaces.nsIBrowserGlue).sanitize(window || null); }],
["cookies", "List your cookies",
function () { toOpenWindowByType("Browser:Cookies", "chrome://browser/content/preferences/cookies.xul", "chrome,dialog=no,resizable"); }],
["console", "JavaScript console",