uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/twice.js
author timkelly
Mon, 06 Apr 2009 14:24:14 -0500
changeset 54 ff58688cad6c
parent 2 d760517a8095
permissions -rw-r--r--
fix bug 8804, add unit tests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
cawthron
parents:
diff changeset
     1
cawthron
parents:
diff changeset
     2
var gCounter = 23
cawthron
parents:
diff changeset
     3
cawthron
parents:
diff changeset
     4
function Base() {
cawthron
parents:
diff changeset
     5
	this.counter = gCounter
cawthron
parents:
diff changeset
     6
	gCounter *= 2
cawthron
parents:
diff changeset
     7
}
cawthron
parents:
diff changeset
     8
cawthron
parents:
diff changeset
     9
Base.prototype.fiddle = function() { return this.counter; }
cawthron
parents:
diff changeset
    10
Base.prototype.faddle = function() { return this.counter; }
cawthron
parents:
diff changeset
    11
cawthron
parents:
diff changeset
    12