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