uidesigner/com.nokia.sdt.component.symbian.test/data/display/script_foobar.js
author cawthron
Mon, 24 May 2010 15:37:56 -0500
branchC3_BUILDER_WORK
changeset 1393 42f6165e68df
parent 0 fb279309251b
permissions -rw-r--r--
write .branch.txt to make the new head

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