mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-30 07:13:32 +02:00
Fix formatting. Ted: Please try to format your code consistently with the rest of the codebase.
This commit is contained in:
@@ -924,13 +924,15 @@ lookup:
|
|||||||
}; //}}}
|
}; //}}}
|
||||||
|
|
||||||
IO.__defineGetter__("runtimePath", function () {
|
IO.__defineGetter__("runtimePath", function () {
|
||||||
let getrtp = services.get("environment").get(config.name.toUpperCase() + "_RUNTIME");
|
const rtpvar = config.name.toUpperCase() + "_RUNTIME";
|
||||||
if( ! getrtp )
|
let rtp = services.get("environment").get(rtpvar);
|
||||||
{
|
if (!rtp)
|
||||||
getrtp = "~/" + (liberator.has("Win32") ? "" : ".") + config.name.toLowerCase();
|
{
|
||||||
services.get("environment").set(config.name.toUpperCase() + "_RUNTIME", getrtp);
|
rtp = "~/" + (liberator.has("Win32") ? "" : ".") + config.name.toLowerCase();
|
||||||
}
|
services.get("environment").set(rtpvar, rtp);
|
||||||
return getrtp; });
|
}
|
||||||
|
return rtp;
|
||||||
|
});
|
||||||
|
|
||||||
IO.expandPath = function (path, relative)
|
IO.expandPath = function (path, relative)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user