jsdoc: Merge code for different render modes.

This commit is contained in:
Jürg Lehni 2011-06-08 17:38:47 +01:00
parent 127b572026
commit a03fc0a3bf

View file

@ -32,13 +32,11 @@ function publish(symbolSet) {
new java.io.File(publish.conf.staticDir),
new java.io.File(publish.conf.outDir)
);
// Create the classes directory
new java.io.File(publish.conf.classesDir).mkdir();
} else {
Utils.deleteFiles(new File(publish.conf.outDir));
new java.io.File(publish.conf.classesDir).mkdirs();
}
// Create the classes directory
new java.io.File(publish.conf.classesDir).mkdirs();
// used to allow Link to check the details of things being linked to
Link.symbolSet = symbolSet;