uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author fturovic <frank.turovich@nokia.com>
Mon, 22 Jun 2009 14:18:24 -0500
changeset 284 43ba1beba007
parent 0 fb279309251b
permissions -rw-r--r--
Updated web resource links to point to SFO now



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++);
}