[Jsdoc-user] One way of createing static methods is ignored
Status: Inactive
Brought to you by:
mmathews
From: Miles C. <mcrawfor@u.washington.edu> - 2006-09-08 23:24:46
|
When I create a static method like this: Example.method = Example_method; function Example_method () { alert('foo'); } JSDoc picks up the method and the comments associated. However, if I write the equivalent: Example.method = function () { alert('foo'); } JSDoc appears to comeplety ignore the method. Is there a reason for this? I find the second syntax for creating class methods far preferable in terms of cleanliness, so I would love if JSDoc supported it. Could anyone who understands the JSDoc code provide me a patch I could use locally? -miles |