зеркало из https://github.com/mozilla/pjs.git
4093e4c66e
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 |
||
---|---|---|
.. | ||
Control.java | ||
Counter.java | ||
CounterTest.java | ||
DynamicScopes.java | ||
File.java | ||
Foo.java | ||
Makefile | ||
Matrix.java | ||
NervousText.html | ||
NervousText.js | ||
RunScript.java | ||
RunScript2.java | ||
RunScript3.java | ||
RunScript4.java | ||
Shell.java | ||
SwingApplication.js | ||
checkParam.js | ||
enum.js | ||
jsdoc.js | ||
liveConnect.js | ||
unique.js |