Re: [trinidad] javascript documentation using jsdoc

2012-07-10 Thread Werner Punz
Hi Leo, also look at the myfaces core, I use the the jsdoc annotations extensively to describe our classes and methods. I am hiding the prototype construct there in favor of java like inheritance but I use the meta descriptions, for example: * @class * @name Messages_de * @extends myfaces._i

Re: [trinidad] javascript documentation using jsdoc

2012-07-06 Thread Leonardo Uribe
Hi Blake, Yes that's exactly what I was looking for. So TrPanelPopup.prototype.getContent defines a non static method for thePopup.getContent(), the function TrPanelPopup() is the constructor and TrPanelPopup.staticGetContent is an static method from class TrPanelPopup. With that info, it shouldn'

Re: [trinidad] javascript documentation using jsdoc

2012-07-05 Thread Blake Sullivan
Leonardo, I'm not sure what you are asking. Are you asking what "prototype" means in JavaScript? If that is what you are asking, then the quickie answer is that Javascript uses template-based inheritance. Every JS Object has a prototype property pointing to the instance that this JS Object

[trinidad] javascript documentation using jsdoc

2012-07-05 Thread Leonardo Uribe
Hi I tried to add this to trinidad-impl pom.xml: generate-assembly org.apache.myfaces.buildtools myfaces-jsdoc-plugin 1.0-beta-1 attach-jsdoc