From a03fc0a3bfeca001db77dc7689d8fc7f05bc71ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 8 Jun 2011 17:38:47 +0100 Subject: [PATCH] jsdoc: Merge code for different render modes. --- build/jsdoc-toolkit/templates/jsdoc/publish.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build/jsdoc-toolkit/templates/jsdoc/publish.js b/build/jsdoc-toolkit/templates/jsdoc/publish.js index 2fa15d38..ba2ef32e 100644 --- a/build/jsdoc-toolkit/templates/jsdoc/publish.js +++ b/build/jsdoc-toolkit/templates/jsdoc/publish.js @@ -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;