uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/testarrays.js
author timkelly
Fri, 22 Jan 2010 12:08:32 -0600
changeset 802 4e9e4ef7c1a0
parent 0 fb279309251b
permissions -rw-r--r--
Bug 10344. Selecting wrong target for WINSCW UREL when launching emulator.

function Test() {
}

Test.prototype.getStuff = function(idx) {
	if (idx == 0) {
		return ["foo", "bar"];
	} else if (idx == 1) {
		return [23, 45];
	} else if (idx == 2) {
		var lst = new java.util.ArrayList();
		lst.add(23);
		lst.add(45);
		return lst;
	} else if (idx == 3) {
		return "foo";
	}
}