thirdparty/jsdoctoolkit/app/test/namespace_nested.js
author Mario Ferraro <fadinlight@gmail.com>
Tue, 27 Oct 2009 20:04:51 +0000
changeset 3065 c7c5212ba840
parent 3041 c8f47f0b6697
permissions -rw-r--r--
Script to run JSLint over JS files to check JS code quality. This script will run JSLint over all files in app/soc/content/js directory and subdirectories to check JS code guidelines compliance.

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