uidesigner/com.nokia.sdt.component.symbian.test/data/display/script_foobar.js
author Ed Swartz <ed.swartz@nokia.com>
Fri, 28 May 2010 14:29:31 -0500
changeset 1416 809f579bf32c
parent 0 fb279309251b
permissions -rw-r--r--
Add temporary "USB (TCF)" connection type for accessing the target-side Symbian TCF agent.

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