thirdparty/jsdoctoolkit/app/test/namespace_nested.js
author Daniel Hans <Daniel.M.Hans@gmail.com>
Fri, 30 Oct 2009 01:23:37 +0100
changeset 3067 371e1979ee6a
parent 3041 c8f47f0b6697
permissions -rw-r--r--
checkIsHostForProgram function takes a new 'logic' argument. It determines which logic should be used to look up for program entity. If the argument is not given, the standard program_logic will be used.

/** 
	@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;