From 6c33a64bdf2ad401f71febf88ce8cfae5476e839 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 30 Jun 2010 18:04:40 +0800 Subject: [PATCH] JSDOC/Options.js --- JSDOC/Options.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/JSDOC/Options.js b/JSDOC/Options.js index 0a9391e..a85908a 100644 --- a/JSDOC/Options.js +++ b/JSDOC/Options.js @@ -136,7 +136,11 @@ Options = { message: "No template Directory specified" }; } - + if (this.template[0] !='/') { + this.template = this.baseDir + '/' + this.template; + } + + if (!this.target) { throw { name: "ArgumentError", -- 2.39.2