uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/test3.js
changeset 0 fb279309251b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/test3.js	Fri Apr 03 23:33:03 2009 +0100
@@ -0,0 +1,24 @@
+
+// this test gets everything through strange accessors methods
+
+function Test() {
+}
+
+Test.prototype.getInstance = function() {
+	return instance;
+}
+
+Test.prototype.getProperties = function() {
+	return instance != undefined ? instance.properties : undefined;
+}
+
+Test.prototype.getNamePlusFoo = function() {
+	props = instance["properties"]
+	return props["name"] + "foo";
+}
+
+Test.prototype.getSizeFormatted = function() {
+	size = instance.properties.size
+	return size.x + "," + size["y"];
+}
+