gecko-dev/js/rhino/examples
nboyd%atg.com 2b5795b8f3 Subject:
jsdoc.js - added simple support for methods
   Date:
        Thu, 14 Jun 2001 09:12:26 +0100 (GMT Daylight Time)
   From:
        Simon Massey <simon_massey@hotmail.com>
     To:
        <nboyd@atg.com>






First off let me say thanks a lot for rhino. It is a really excellent piece
of software.

I am writing a large piece of js for making Excel2000 htm interactive on IE
and other browser such as Netscape6. Use a alot of code OO using methods
along the lines of:

  /**
   * Constructor
   */
  function Type(x){
   this.x = x;
  }

  /**
   * Method
   */
  Type.prototype.getX = function(){
   return x;
  }

  var type = new Type('a');
  var a = type.getX();

I have added to jsdoc.js so that finds and documents the method
declarations.

Attached is my modified jsdoc.js and a sample of the html that it generates
for the some of our proprietry :-( "Axel" code.

As an aside have you seen the job that www.blox.com have done on making a
dhtml spreadsheet? Bet they wished they could use exceptions in Netscape4!

Looking forward to the production JSDebugger. The tip version is great. It
does however seem to trash the view that it has of a file when an eval call
is made in that file. Is there a work around or will I have to wait till
the production version?

Thanks Again!

Simon Massey
2001-06-14 17:38:37 +00:00
..
Control.java
Counter.java Add new CounterTest example. 2001-06-01 15:26:45 +00:00
CounterTest.java Add new CounterTest example. 2001-06-01 15:26:45 +00:00
DynamicScopes.java
File.java
Foo.java
Makefile
Matrix.java Fix infinite loop in example. 2001-01-12 16:28:36 +00:00
NervousText.html
NervousText.js Fix bug 49350 2000-09-11 15:12:04 +00:00
RunScript.java
RunScript2.java
RunScript3.java Expand tutorial. 2001-01-16 15:24:23 +00:00
RunScript4.java Expand tutorial. 2001-01-16 15:24:23 +00:00
Shell.java Fix javadoc error. 2000-07-17 14:08:28 +00:00
SwingApplication.js Fix 60184, and add SwingApplication.js example, with change 2000-11-17 13:05:46 +00:00
checkParam.js
enum.js
jsdoc.js Subject: 2001-06-14 17:38:37 +00:00
liveConnect.js
unique.js