Commit b895a70d authored by stan-is-laus's avatar stan-is-laus Committed by Jaromil
Browse files

Added implementation of Module.print

parent eeb36395
......@@ -9,6 +9,7 @@ fs.writeFileSync('zenroom.js.mem', fs.readFileSync('./nodejs/zenroom.js.mem'));
zenroom_module.exec_ok = () => 0
zenroom_module.exec_error = () => 0
zenroom_module.print = text => console.log(text)
const zenroom = (script_file=process.argv[2],
conf=null,
......@@ -26,4 +27,3 @@ const zenroom = (script_file=process.argv[2],
[script, config, keys, data, verbosity])
}
zenroom()
Supports Markdown
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