uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author fturovic <frank.turovich@nokia.com>
Thu, 25 Feb 2010 11:49:17 -0600
changeset 1023 59ff8c87a2ce
parent 0 fb279309251b
permissions -rw-r--r--
file sync with changes in 2.5



function Proto () {
	this.counter = 1;
	this.globalString = "InstanceVar";
}

Proto.prototype = new Object()

function extra() {
	anotherglobal = 3;
}

Proto.prototype.myfunc = function() {
	var oo = inst;
	
	myglobal = 2;
	extra();
	
	this.foo = 3;
	
	return this.globalString + (this.counter++);
}