1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-11 09:50:27 +00:00

Added dump of the compile tree to info macro

This commit is contained in:
Jeremy Ruston 2012-01-23 19:04:11 +00:00
parent 5030d46e2f
commit a96df59172

View File

@ -24,6 +24,11 @@ exports.macro = {
case "parsetree":
return "Parse tree: " + parseTree.toString(type);
//break;
case "compiled":
return "Compiled as: " + utils.stitchElement("pre",null,{
content: encoder(parseTree.compile(type))
});
//break;
case "dependencies":
if(parseTree.dependencies === null) {
return encoder("Dependencies: *");