micmath/jsdoc — Issue #63: Functions in an object with null value are not documented as a method
Author: DataTables
Created: 2011-11-25 12:34:14+00:00
State: open

This is a somewhat obscure one I suspect. If you have an object with a function in it, but that function is set to null (initially - for example in a "defaults" object), the property is not documents as a method. For example:

/**
* Test namespace
* @namespace
*/
var o = {
/**
* Test function
* @type function
*/
func: null
};

Gives:

"code": {
"id": "astnode143167084",
"name": "func",
"type": "NULL",
"node":