uidesigner/com.nokia.sdt.component.symbian.test/data/display/script_foobar.js
author fturovic <frank.turovich@nokia.com>
Mon, 23 Aug 2010 11:39:09 -0500
changeset 1867 26e16c7a3ae5
parent 0 fb279309251b
permissions -rw-r--r--
revised product icons and about images

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;
}