uidesigner/com.nokia.sdt.component.symbian.test/data/display/script_foobar.js
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
permissions -rw-r--r--
DP tools release version Revision: 200912

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