sbin/res/jsdoc/app/test/static_this.js
author hamidouk
Fri, 20 Jan 2012 17:26:55 +0100
branchpopcorn-port
changeset 690 b7ac9cfefda4
parent 520 fe008e95a716
permissions -rw-r--r--
WIP - nearly fixed all the bugs with the sliceWidget.js. I still have got to replicate the code for the right handle.

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

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

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

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