Nested module loading!

parent aa77477b
......@@ -20,8 +20,8 @@ function (args) {
modules.print(JSON.stringify(result));
var testme = modules.assert_safe_path('testme.js');
var testme = modules.compile('testme.js');
//modules.print(testme(3, 4));
modules.print(Object.keys(args.modules));
modules.print(args.Queues.timers.length);
testme(modules);
// modules.print(Object.keys(args.modules));
// modules.print(args.Queues.timers.length);
return result
}
function (a, b) {
return a * b;
}
function (a, b) {
return a * b;
function (modules) {
var testme = modules.assert_safe_path('subexample/testme.js');
var testme = modules.compile('subexample/testme.js');
modules.print(testme(3, 4));
return
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment