thirdparty/jsdoctoolkit/app/test/static_this.js
author Mario Ferraro <fadinlight@gmail.com>
Sun, 25 Oct 2009 19:21:43 +0000
changeset 3042 72eec4d72471
parent 3041 c8f47f0b6697
permissions -rw-r--r--
Script to run JSDocToolkit over our JS files. It creates a documentation directory under app/soc/content/js with the output for private and public docs, with or without undocumented functions.

/** the parent */
var box = {};

/** @namespace */
box.holder = {}

box.holder.foo = function() {
	/** the counter */
	this.counter = 1;
}

box.holder.foo();
print(box.holder.counter);