uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author timkelly
Fri, 22 Jan 2010 12:08:32 -0600
changeset 802 4e9e4ef7c1a0
parent 0 fb279309251b
permissions -rw-r--r--
Bug 10344. Selecting wrong target for WINSCW UREL when launching emulator.



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