JSDOC/BuildDocs.js
[gnome.introspection-doc-generator] / JSDOC / Options.js
index b01ea7e..7fac06f 100644 (file)
@@ -67,6 +67,11 @@ Options = {
     "disablecache": '',   // was C
     "define" : [],   // was D.
     "handler" : [],  // was H -- not supported..
+    
+    
+    "version" : "1.0",
+    "copyright" : "LGPL",
+    
     LOG : {
         warn : function(str) {
             print("Warn: " +str );
@@ -135,11 +140,11 @@ Options = {
         if (!this.templateDir) {
             throw {
                 name: "ArgumentError", 
-                message: "No template Directory specified" 
+                message: "No templateDir Directory specified" 
             };
         }
         if (this.templateDir[0] !='/') {
-            this.templateDir = this.baseDir + '/' + this.template;
+            this.templateDir = this.baseDir + '/' + this.templateDir;
         }
         
         
@@ -149,7 +154,8 @@ Options = {
                 message: "No directory specified" 
             };
         }
-      
+        
+        //print(JSON.stringify(this, null,4));
         
         // should cacheDirectory be a subdirectory of target??
         // if not set..