sbin/res/jsdoc/app/test/namespace_nested.js
author durandn
Fri, 18 Sep 2015 14:39:45 +0200
changeset 1049 4e8b3df6e5be
parent 520 fe008e95a716
permissions -rw-r--r--
Added support for running a function before the draw() function of a widget, for example when a widget needs to fetch additional user informations that aren't provided by the metadatas

/** 
	@namespace This is the first namespace.
*/
ns1 = {};

/** 
	This is the second namespace.
	@namespace
*/
ns1.ns2 = {};

/**
	This part of ns1.ns2
	@constructor
*/
ns1.ns2.Function1 = function() {
};

ns1.staticFunction = function() {
};

/** A static field in a namespace. */
ns1.ns2.staticField = 1;