uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
author cawthron
Wed, 06 Oct 2010 14:27:34 -0500
changeset 2135 750cbc447cc6
parent 0 fb279309251b
permissions -rw-r--r--
set version of com.nokia.carbide.cpp to 3.1.0



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