sbin/res/jsdoc/app/test/static_this.js
branchjsdoc
changeset 520 fe008e95a716
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbin/res/jsdoc/app/test/static_this.js	Fri Dec 23 11:38:47 2011 +0100
@@ -0,0 +1,13 @@
+/** the parent */
+var box = {};
+
+/** @namespace */
+box.holder = {}
+
+box.holder.foo = function() {
+	/** the counter */
+	this.counter = 1;
+}
+
+box.holder.foo();
+print(box.holder.counter);