micmath/jsdoc — Issue #54: Support for undocumented functions using Closures + Object Literals
Author: ProLoser
Created: 2011-10-25 22:30:14+00:00
State: open

It would be nice if 1: I didn't have to use @lends everywhere for my structure and 2: functions without doc-blocks being returned as part of an object literal (or other variants) would still be documented. There was better support for this in v2. I realize these 2 tasks may not necessarily coincide, but the latter is much more annoying (as it involves a lot more edits than the former).

```
var myUtil = (function(){
/** @lends myUtil */
return {
/**
* This gets added
*/
getItem: function() {},
setItem: function() {
// This doesn't
}
};
})();
```