1
0
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:
Doug Kearns
2008-09-14 14:52:26 +00:00
parent 21f9e7742e
commit ecf3d669ce

View File

@@ -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();
}