thirdparty/jsdoctoolkit/app/test/static_this.js
author Daniel Hans <Daniel.M.Hans@gmail.com>
Tue, 10 Nov 2009 13:59:15 +0100
changeset 3083 f384c0a42920
parent 3041 c8f47f0b6697
permissions -rw-r--r--
'scope' field moved from TaskTag to the parent class.

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

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

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

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