var txs = new TextStream(src);
- var tr = new TokenReader({ keepComments : true, keepWhite : true });
+ var tr = new TokenReader({ keepComments : true, keepWhite : true , sepIdents: false });
var ts = new TokenStream(tr.tokenize(txs));
Link.base = "";
//var classesIndex = classesTemplate.process(classes);
-
+ Options.LOG.inform("build index");
File.write(Options.target + "/index."+ Options.publishExt,
classesindexTemplate.process(classes)
}
allFiles = allFiles.sort(makeSortby("name"));
- File.write(Options.target , "/files."+Options.publishExt,
+ Options.LOG.inform("write files index");
+
+ File.write(Options.target + "/files."+Options.publishExt,
fileindexTemplate.process(allFiles)
);
// what we need to output to be usefull...
// a) props..
var cfgProperties = [];
- if (!data.comment.getTag('singleton').length) {
+ if (!data.comment || !data.comment.getTag('singleton').length) {
cfgProperties = data.configToArray();
cfgProperties = cfgProperties.sort(makeSortby("name"));