|
1234567891011121314151617181920212223 |
- function Murom()
- {
- }
- Murom.prototype.loadModules = function()
- {
- // Skip `0` module because it's us.
- for (var i = 1; i < MM.length; ++i)
- {
- var module = MM[i];
- var name = module[0];
- var code = atob(module[1]);
- try
- {
- eval(code);
- }
- catch (e)
- {
- console.error("Could not load '" + name + "' module: '" + e + "'");
- }
- }
- };
- var M = new Murom();
- M.loadModules();
|