JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / JSDOC / BuildDocs.js
index 1e49d0f..8c8552e 100644 (file)
@@ -428,7 +428,7 @@ BuildDocs = {
             m = ownMethods[i];
             methods.push( {
                 name : m.name,
-                sig : this.makeFuncSkel(m.params),
+                sig : this.makeMethodSkel(m.params),
                 type : 'function',
                 desc : m.desc
             });
@@ -505,7 +505,7 @@ BuildDocs = {
                 function($) {
                     return $.name.indexOf(".") == -1; // don't show config params in signature
                 }
-            ).map( function($) { return $.name == 'this' ? '_self' : $.name; } ).join(", ") +
+            ).map( function($) { return  $.type + " "  +(  $.name == 'this' ? '_self' : $.name ); } ).join(", ") +
         ")";
     }