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 Deprecate FlattenedObject. 2000-07-07 14:41:35 +00:00
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 Fix bug 33841. 2000-04-12 17:30:32 +00:00
File.java Clean up examples to use current jsFunction_ and jsGet_ method forms. 2000-03-03 19:15:51 +00:00
Foo.java update license boilerplate to NPL dual w/GPL, r=norris@netscape,a=norris@netscape.com 1999-10-05 00:44:05 +00:00
Makefile update license boilerplate to NPL dual w/GPL, r=norris@netscape,a=norris@netscape.com 1999-10-05 00:44:05 +00:00
Matrix.java Fix infinite loop in example. 2001-01-12 16:28:36 +00:00
NervousText.html Add html page for the NervousText applet. 2000-03-09 23:06:54 +00:00
NervousText.js Fix bug 49350 2000-09-11 15:12:04 +00:00
RunScript.java update license boilerplate to NPL dual w/GPL, r=norris@netscape,a=norris@netscape.com 1999-10-05 00:44:05 +00:00
RunScript2.java update license boilerplate to NPL dual w/GPL, r=norris@netscape,a=norris@netscape.com 1999-10-05 00:44:05 +00:00
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 Add license text. 1999-10-25 17:41:49 +00:00
enum.js Add license text. 1999-10-25 17:41:49 +00:00
jsdoc.js Subject: 2001-06-14 17:38:37 +00:00
liveConnect.js Add license text. 1999-10-25 17:41:49 +00:00
unique.js Add license text. 1999-10-25 17:41:49 +00:00