uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals3.js
author dadubrow
Fri, 26 Feb 2010 11:31:16 -0600
branchRCL_2_4
changeset 1035 a50c0b5d243e
parent 0 fb279309251b
permissions -rw-r--r--
remove ui dependency + use new notification to switch mode


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