JSDOC/BuildDocs.js
[gnome.introspection-doc-generator] / JSDOC / BuildDocs.js
index 7a7633e..3a6529b 100644 (file)
@@ -271,7 +271,7 @@ BuildDocs = {
             
             // dump out a 
             
-            this.publishJSON(Options.target+"/json/" symbol.alias+'.json', symbol)
+            this.publishJSON(Options.target+"/json/" + symbol.alias+'.json', symbol)
             
             
             
@@ -314,13 +314,18 @@ BuildDocs = {
         );
         
     },
-
+    /**
+     * JSON files are lookup files for the documentation
+     * - can be used by IDE's or AJAX based doc tools
+     * 
+     * 
+     */
     publishJSON : function(file, data)
     {
         // what we need to output to be usefull...
         // a) props..
         var cfgProperties = [];
-        if (!data.comment || !data.comment.getTag('singleton').length) {
+        if (!data.comment.getTag('singleton').length) {
             cfgProperties = data.configToArray();
             cfgProperties = cfgProperties.sort(makeSortby("name"));