uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author dadubrow
Mon, 15 Feb 2010 14:46:10 -0600
branchRCL_2_4
changeset 959 a9c84e6d779f
parent 0 fb279309251b
permissions -rw-r--r--
ui tweaks to new launch wizard



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