uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author dadubrow
Tue, 27 Apr 2010 13:17:04 -0500
branchRCL_2_4
changeset 1305 68114c404585
parent 0 fb279309251b
permissions -rw-r--r--
bug 11181



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