File: README

package info (click to toggle)
freej 0.10git20100110-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 32,080 kB
  • ctags: 22,705
  • sloc: cpp: 156,254; ansic: 25,531; sh: 13,538; perl: 4,624; makefile: 3,278; python: 2,889; objc: 1,284; asm: 1,125; ruby: 126
file content (30 lines) | stat: -rw-r--r-- 1,193 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
README for jsdoc.pl

jsdoc.pl is a script that produces javadoc-style documentation from well-formed 
JavaScript sourcefiles. At the moment, this means it supports sourcefiles where 
all functions are mapped to a class using prototype-based inheritance. 
Anonymous function definitions 
(e.g. Circle.prototype.getRadius = function(){ ...} ) are supported.

This application requires Perl5, as well as one non-standard addon module:
    - HTML::Template, which is available from CPAN (cpan.org)

Invocation is simple: Just run the application, giving one or more well-formed 
OO JavaScript sourcefilename(s) as arguments. A sample JS sourcefile, test.js, 
is given along with this application. An example of running the application is 
shown below:

    $ ./jsdoc.pl test.js

OR
    perl jsdoc.pl test.js

Further information about using JsDoc can be found at 
http://jsdoc.sourceforge.net

If there are any questions, comments, problems or anything else, please mail 
the jsdoc-user mailing list; more information can be found at 
http://sourceforge.net/mail/?group_id=30801. This application has been 
successfully tested on Linux (Debian and Redhat), and Windows 2000 with 
ActivePerl.