14.07.2013 Views

Essentials of Javascript - Cultural View

Essentials of Javascript - Cultural View

Essentials of Javascript - Cultural View

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

JSDoc 90<br />

History<br />

The earliest example <strong>of</strong> using a Javadoc-like syntax to document JavaScript was released in 1999 with the<br />

Netscape/Mozilla project named Rhino [1] .<br />

JSDoc In Use<br />

• The JSDoc syntax has been described at length in the Apress book Foundations <strong>of</strong> Ajax ISBN 1-59059-582-3.<br />

• IntelliJ and RubyMine understand JSDoc syntax.<br />

• The Eclipse IDE [2] has extensions that understand the JSDoc syntax. Eclipse-based Aptana Studio supports<br />

ScriptDoc, and the included JavaScript files are commented in ScriptDoc.<br />

• Mozile [3] , the Mozilla Inline Editor uses JSDoc.<br />

• The Helma [4] application framework uses JSDoc.<br />

See also<br />

• Comparison <strong>of</strong> documentation generators<br />

External links<br />

• Annotating JavaScript for the Closure Compiler [5]<br />

• Create useful relevant JavaScript documentation with JSDoc [6]<br />

• Javadoc Tool: How to Write Doc Comments for the Javadoc Tool [7]<br />

Documentation generators<br />

• JSDoc [8] - written in Perl<br />

• JsDoc Toolkit [9] - written in JavaScript<br />

References<br />

[1] http://lxr.mozilla.org/mozilla/source/js/rhino/examples/jsdoc.js<br />

[2] http://www.interaktonline.com/Products/Eclipse/JSEclipse/Features/Details/Use+<strong>of</strong>+JSDoc+and+inline+parameter+comments+to+<br />

detect+parameter+type.html?id_ftr=639<br />

[3] http://mozile.mozdev.org/0.8/doc/jsdoc/index.html<br />

[4] http://helma.zumbrunn.net/reference/core/<br />

[5] http://code.google.com/closure/compiler/docs/js-for-compiler.html<br />

[6] http://blogs.techrepublic.com.com/programming-and-development/?p=451<br />

[7] http://java.sun.com/j2se/javadoc/writingdoccomments/<br />

[8] http://jsdoc.sourceforge.net/<br />

[9] http://code.google.com/p/jsdoc-toolkit/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!