From: Alan Knowles Date: Wed, 30 Jun 2010 10:04:40 +0000 (+0800) Subject: JSDOC/Options.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=6c33a64bdf2ad401f71febf88ce8cfae5476e839 JSDOC/Options.js --- 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",