uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals3.js
author fturovic <frank.turovich@nokia.com>
Mon, 13 Jul 2009 14:16:23 -0500
changeset 364 d4bc15911a2c
parent 0 fb279309251b
permissions -rw-r--r--
updated bug fixes for final 2.1


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