uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals3.js
author timkelly
Wed, 24 Jun 2009 14:21:31 -0500
changeset 297 192fda8b2d77
parent 0 fb279309251b
permissions -rw-r--r--
update test for plat macros to use newer SDK (S60 5th ed.)


globalString = "ScriptGlobal";

function Proto () {
	this.counter = 1;
}

Proto.prototype = new Object()

function extra() {
	anotherglobal = 3;
}

Proto.prototype.myfunc = function() {
	var oo = inst;
	
	myglobal = 2;
	extra();
	
	this.foo = 3;
	
	return globalString + (this.counter++);
}