uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/test2.js
author stechong
Thu, 14 May 2009 16:50:48 -0500
changeset 153 c847f1618fc8
parent 0 fb279309251b
permissions -rw-r--r--
Disabled caching in Java URLConnection when fetching feedlisting file from server.


// this test gets everything through instance

function Test() {
}

Test.prototype.getInstance = function() {
	return instance;
}

Test.prototype.getProperties = function() {
	return instance.properties;
}

Test.prototype.getNamePlusFoo = function() {
//	java.lang.System.out.println( instance.properties.size)
	return instance.properties.name + "foo";
}

Test.prototype.getSizeFormatted = function() {
	return instance.properties.size.x + "," + instance.properties.size.y;
}