uidesigner/com.nokia.sdt.component.symbian.test/data/display/script_foobar.js
author dadubrow
Fri, 19 Mar 2010 14:31:39 -0500
changeset 1115 f2b4c39f3e7b
parent 0 fb279309251b
permissions -rw-r--r--
10837 - add missing support for determining trk type

var gCounter = 0;

function FooBar() {
	this.counter = ++gCounter;
}

FooBar.prototype.doFoo = function() {

	return this.counter;
}

FooBar.prototype.doBar = function() {

	return this.counter;
}

FooBar.prototype.propertyChanged = function(instance, propertyId) {
	if (propertyId == "foo")
		instance.properties.bar = instance.properties.foo;
}