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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user