uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author timkelly
Thu, 06 May 2010 16:25:21 -0500
changeset 1342 a6609e20257c
parent 0 fb279309251b
permissions -rw-r--r--
make sbsv2 default in case of builder combo not existing



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