sbin/res/jsdoc/app/test/static_this.js
author veltr
Mon, 05 Nov 2012 19:03:44 +0100
branchplatform-restapi
changeset 978 fcddc519938c
parent 520 fe008e95a716
permissions -rw-r--r--
Closing branch: platform-restapi

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

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

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

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