sbin/res/jsdoc/app/test/static_this.js
author hamidouk
Fri, 30 Dec 2011 11:55:54 +0100
branchpopcorn-port
changeset 549 8abffd2de54a
parent 520 fe008e95a716
permissions -rw-r--r--
implemented correct button behaviour.

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

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

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

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