1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 15:52:29 +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) 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();
} }