Closed GoogleCodeExporter closed 8 years ago
This is a known limitation: the pattern `var a, b, c;` is not supported by
JsDoc Toolkit's static analysis. There
really isn't any reasonable way to add support for that either. In this
particular case though you can accomplish
what you want without `var` and even less keystrokes:
/**
* @constructor
*/
app = function() {
var test = {};
/**
* My local function
*/
function func() {
}
}
Or you can use the following syntax (the trailing dash on the @memberOf
argument indicates an inner scope):
/**
* @constructor
*/
app = function() {
var test = {},
/**
* My local function
* @memberOf app-
*/
func = function() {
};
}
Original comment by micmath
on 15 Feb 2009 at 12:04
Original issue reported on code.google.com by
pbcomm@gmail.com
on 31 Jan 2009 at 6:43