Please explain to me the best way to describe this module:
var Utils = (
function () {
var staticConstantField = "Some value";
var exports = {
staticConstantField: staticConstantField,
getUrlArgs: getUrlArgs,
isJSON: isJSON
};
return exports;
function getUrlArgs() {
return [];
}
function isJSON(json) {
return true;
}
function parseJson(json) {
return {};
}
})();
In this example, my @public and @static annotations are ignored, all @public methods are marked as "internal", @private label methods as "private, internal", return statement are ignored. In the generated documents, I do not see which methods I can use as api ('export' object in my code), and if I return
var exports = {
anotherFieldName: staticConstantField,
anotherGgetUrlArgsName: getUrlArgs,
anotherIsJSONName: isJSON
};
this API will not appear in documents.
Generated Documentation:

source
share