uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals3.js
author timkelly
Tue, 04 May 2010 11:32:39 -0500
changeset 1327 f0fa49ad9b81
parent 0 fb279309251b
permissions -rw-r--r--
fix bug 11218


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