I have several modules organized in my app's namespace. I'm new to Netbeans, and having trouble getting it to properly recognize where they fit.
/**
* Provides general utilities.
* @param {object} util - window.myNamespace.util
*/
(function (util) {
/** @private */
var uniqueCounter = 0;
/** Returns unique incrementing integer. */
util.uniqueID = function() {
uniqueCounter++;
return uniqueCounter;
};
}(window.myNamespace.util = window.myNamespace.util || {}));
I've tried several permutations of JSDoc @name, @namespace, @alias, @memberOf, etc on the IIFE and on the individual members, but nothing seems to move it correctly to window.vltTDT.util
from Global util
.
Product Version: NetBeans IDE 8.1 (Build 201510222201)