documentation - What options are available for documenting your Javascript code? -


Is there anything like Doxygen / Jawadock? Has everyone worked from there who worked well? The 800-pound gorilla and its successors of Javascript documents Most documents like Javadoc- tags and /

Comment is done with the prefix.

Example:

  var MyClass = class. Make (/ ** @ myClass # * / // @ Linds is how you write anonymous classes. {/ ** * Constructor's description. * @ Category class details. // @ class annotations goes anywhere and * // Description Whole class. * @ Construct // This is a constructor. * / Initialize: function (arg0, arg1) {// ...}, / ** one method. * / MyFunc: function () {} , / * * One example field. * / MyVar: 123}); Object. Extension (Myllus, / ** @mailclass * / {** ** A class method. * / ClassFunc: function () {}});  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -