X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=JSDOC%2FBuildDocs.js;h=8c8552e39bd43923087604ce4316791c25743863;hb=b85554bcc3d6985efcf6691a161dea7c85d9d81b;hp=cce3ebd2ae189ed687f8c5394258fca9fe3c967c;hpb=3278374768a9dc1af6a75473db5c7839f1e2184b;p=gnome.introspection-doc-generator diff --git a/JSDOC/BuildDocs.js b/JSDOC/BuildDocs.js index cce3ebd..8c8552e 100644 --- a/JSDOC/BuildDocs.js +++ b/JSDOC/BuildDocs.js @@ -427,8 +427,8 @@ BuildDocs = { for(var i =0; i < ownMethods.length;i++) { m = ownMethods[i]; methods.push( { - name : m.name.substring(1), - sig : this.makeFuncSkel(m.params), + name : m.name, + 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(", ") + ")"; }