JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / JSDOC / Options.js
index cc0c965..a85908a 100644 (file)
@@ -126,7 +126,7 @@ Options = {
                     message: "invalid Source Directory : " +  v
                 };
             }
-            +this.src.push(v);
+            _this.src.push(v);
         });
         
         
@@ -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",