sbin/res/jsdoc/app/test/static_this.js
author hamidouk
Wed, 04 Jan 2012 11:38:24 +0100
branchpopcorn-port
changeset 578 8dd6ebb7a79d
parent 520 fe008e95a716
permissions -rw-r--r--
fixed .code() bug.

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

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

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

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