- if (JSDOC.opt.hasOwnProperty('Z')) { // secret debugging option
- JSDOC.opt.LOG.warn("So you want to see the data structure, eh? This might hang if you have circular refs...");
- //IO.include("frame/Dumper.js");
- var symbols = jsdoc.symbolSet.toArray();
- for (var i = 0, l = symbols.length; i < l; i++) {
- var symbol = symbols[i];
- print("// symbol: " + symbol.alias);
- print(symbol.serialize());
- }
- }
- else {
- var template = JSDOC.opt.t; // || System.getProperty("jsdoc.template.dir");
- println("Template: " + JSDOC.opt.t);
-
- function includeJs(fn)
- {
- return "include '" + fn +"';";
- }
-
- eval(includeJs(template + 'publish.js'));
-
- JSDOC.publish = publish;
+
+ var template = Options.template; // || System.getProperty("jsdoc.template.dir");
+ println("Template: " + Options.template);