X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FOptions.js;h=7fac06f828ce910e0e993102eb49a33a1043e086;hp=b01ea7e388e9f6bea8430ea6d81240a47a9b3146;hb=a67931117fc1f532da5016752f7dd3c625ce25d3;hpb=62175f99b632b2f61ab2cc70d37d1f6a054f401f diff --git a/JSDOC/Options.js b/JSDOC/Options.js index b01ea7e..7fac06f 100644 --- a/JSDOC/Options.js +++ b/JSDOC/Options.js @@ -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..