mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 13:42:27 +01:00
minor refactoring of loadModule()
This commit is contained in:
@@ -36,8 +36,9 @@ const liberator = (function () //{{{
|
|||||||
|
|
||||||
function loadModule(name, func)
|
function loadModule(name, func)
|
||||||
{
|
{
|
||||||
liberator.log("Loading module " + name + "...", 0);
|
var message = "Loading module " + name + "...";
|
||||||
liberator.dump("Loading module " + name + "...\n");
|
liberator.log(message, 0);
|
||||||
|
liberator.dump(message + "\n");
|
||||||
liberator[name] = func();
|
liberator[name] = func();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user