uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals.js
author timkelly
Wed, 25 Mar 2009 11:55:19 -0500
changeset 8 f330c1e8a4f3
parent 2 d760517a8095
permissions -rw-r--r--
commit the merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
cawthron
parents:
diff changeset
     2
function Proto () {
cawthron
parents:
diff changeset
     3
}
cawthron
parents:
diff changeset
     4
cawthron
parents:
diff changeset
     5
Proto.prototype = new Object()
cawthron
parents:
diff changeset
     6
cawthron
parents:
diff changeset
     7
function extra() {
cawthron
parents:
diff changeset
     8
	anotherglobal = 3;
cawthron
parents:
diff changeset
     9
}
cawthron
parents:
diff changeset
    10
cawthron
parents:
diff changeset
    11
Proto.prototype.myfunc = function() {
cawthron
parents:
diff changeset
    12
	var oo = inst;
cawthron
parents:
diff changeset
    13
	
cawthron
parents:
diff changeset
    14
	myglobal = 2;
cawthron
parents:
diff changeset
    15
	extra();
cawthron
parents:
diff changeset
    16
	
cawthron
parents:
diff changeset
    17
	this.foo = 3;
cawthron
parents:
diff changeset
    18
	
cawthron
parents:
diff changeset
    19
	globalString = "77" + globalString;
cawthron
parents:
diff changeset
    20
	return globalString;
cawthron
parents:
diff changeset
    21
}