Re: [Jsdoc-user] no jsdoc from valid javscript
Status: Inactive
Brought to you by:
mmathews
|
From: Larry R. <lj...@ho...> - 2006-07-28 21:12:51
|
I have had a similar issue. Im not sure if it's a bug in JSDoc or what, but
try this:
var DED;
/**
* comments....
*/
DED = function () {
Blah....
}
For me I found I had to remove the var declaration from the line. Hope it
works for you too.
-----Original Message-----
From: jsd...@li...
[mailto:jsd...@li...] On Behalf Of Henrik Gemal
Sent: Wednesday, July 26, 2006 11:30 PM
To: jsd...@li...
Subject: [Jsdoc-user] no jsdoc from valid javscript
If I have valid JavaScript like this:
var DED = function() {
var private_var;
function private_method() {}
return {
public_var: 1,
public_method : function() {}
};
}();
I dont get any jsdocs out:
Loading sources from test.js
Nothing to document, exiting
What can I do?
Using JSDoc-1.9.9.2
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jsdoc-user mailing list
Jsd...@li...
https://lists.sourceforge.net/lists/listinfo/jsdoc-user
|