X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FBuildDocs.js;fp=JSDOC%2FBuildDocs.js;h=c108b74e2c4a400f546b062a0647dcc4a78a76da;hp=426ec5fd2560aa27e8e4847193abb1921a42aa37;hb=eeacd443725144328730d936474e91fbb240a046;hpb=5f756aa2e5c95bb063b61b1ba78aad869aad7667 diff --git a/JSDOC/BuildDocs.js b/JSDOC/BuildDocs.js index 426ec5f..c108b74 100644 --- a/JSDOC/BuildDocs.js +++ b/JSDOC/BuildDocs.js @@ -416,6 +416,24 @@ BuildDocs = { desc : m.desc }); } + + var ownMethods = data.methods.filter( function(e){ + return !e.isEvent && !e.comment.getTag('hide').length; + }).sort(makeSortby("name")); + + + var methods = []; + + for(var i =0; i < ownMethods.length;i++) { + m = ownMethods[i]; + methods.push( { + name : m.name.substring(1), + sig : this.makeFuncSkel(m.params), + type : 'function', + desc : m.desc + }); + } + //println(props.toSource()); // we need to output: //classname => { @@ -426,7 +444,8 @@ BuildDocs = { var ret = { props : props, - events: events + events: events, + methods : methods, }; return ret;