uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author stechong
Mon, 08 Jun 2009 15:07:19 -0500
changeset 215 035fd2d44781
parent 0 fb279309251b
permissions -rw-r--r--
Updated getErrorMessage() methods for accessing error messages from various INF and MMP editor pages.



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