uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/parentchild2.js
author cawthron
Tue, 24 Mar 2009 22:20:21 -0500
changeset 2 d760517a8095
permissions -rw-r--r--
new
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
cawthron
parents:
diff changeset
     2
cawthron
parents:
diff changeset
     3
function Test() {
cawthron
parents:
diff changeset
     4
}
cawthron
parents:
diff changeset
     5
cawthron
parents:
diff changeset
     6
Test.prototype.getParent = function() {
cawthron
parents:
diff changeset
     7
	return instance.parent;
cawthron
parents:
diff changeset
     8
}
cawthron
parents:
diff changeset
     9
cawthron
parents:
diff changeset
    10
Test.prototype.getChild0 = function() {
cawthron
parents:
diff changeset
    11
	return instance.children[0];
cawthron
parents:
diff changeset
    12
}
cawthron
parents:
diff changeset
    13