After upgrading from RC3 to RC7 some code broke and I pinned it down to a change in global fields. I had been able to create a javascript Object, attach some fields to it and store this in a global. This now breaks:
var obj = new Object();
obj.child = "I'm the child";
globals.tester = obj;
application.output(obj.child);
application.output(globals.tester.child);
Output is:
I’m the child
null
Also, it seems strange that types for global fields need to be declared. Javascript is about as typeless a language as you’ll see (or rather types are determined at runtime and can be changed on the fly) - though, I’d be fine typing variables if we could specify any javascript object type.
Thanks for the feedback.[/i]