uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uidesigner/com.nokia.sdt.component.symbian.test/data/scripts/transientGlobals2.js Fri Apr 03 23:33:03 2009 +0100
@@ -0,0 +1,23 @@
+
+
+function Proto () {
+ this.counter = 1;
+ this.globalString = "InstanceVar";
+}
+
+Proto.prototype = new Object()
+
+function extra() {
+ anotherglobal = 3;
+}
+
+Proto.prototype.myfunc = function() {
+ var oo = inst;
+
+ myglobal = 2;
+ extra();
+
+ this.foo = 3;
+
+ return this.globalString + (this.counter++);
+}