JSDOC/Options.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 30 Jun 2010 10:04:40 +0000 (18:04 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 30 Jun 2010 10:04:40 +0000 (18:04 +0800)
JSDOC/Options.js

index 0a9391e..a85908a 100644 (file)
@@ -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",