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

Fix formatting. Ted: Please try to format your code consistently with the rest of the codebase.

This commit is contained in:
Kris Maglione
2008-12-30 22:41:34 -05:00
parent f878307b34
commit 763059641d

View File

@@ -924,13 +924,15 @@ lookup:
}; //}}}
IO.__defineGetter__("runtimePath", function () {
let getrtp = services.get("environment").get(config.name.toUpperCase() + "_RUNTIME");
if( ! getrtp )
{
getrtp = "~/" + (liberator.has("Win32") ? "" : ".") + config.name.toLowerCase();
services.get("environment").set(config.name.toUpperCase() + "_RUNTIME", getrtp);
}
return getrtp; });
const rtpvar = config.name.toUpperCase() + "_RUNTIME";
let rtp = services.get("environment").get(rtpvar);
if (!rtp)
{
rtp = "~/" + (liberator.has("Win32") ? "" : ".") + config.name.toLowerCase();
services.get("environment").set(rtpvar, rtp);
}
return rtp;
});
IO.expandPath = function (path, relative)
{