[Laszlo-dev] [RESENT] Trunk (ring-ding) about to be unstable for a bit...

P T Withington ptw at pobox.com
Mon Mar 17 06:33:02 PDT 2008


[RESENT: Adding laszlo-user]

I have a big change that is mostly working, that I want to check in so  
we can do some parallel debugging.  If you are working on/with trunk  
and need stability, you may want to lay off taking updates until I  
sound the all clear.

---

NOTE: There are two changes that you will need to make to your code to  
prepare for this release, which you can make now:

1) For any LZX class, there will no longer be a global alias from the  
tagname to the class implementing it.  This means for any class  
definition:

<class name="foo" ...

Anywhere in script where you used to say:

   new foo

or:

   x instanceof foo

You must now say:

   new lz.foo

and:

   x instanceof lz.foo

2) getAttribute is now deprecated.  We have not used/supported getters  
for some time, we are officially deprecating getAttribute because it  
is just wasted overhead.  Where you used to say:

   x.getAttribute('bar')

you should now say:

   x['bar']

(You can also say `x.bar`, but that will generate a warning if the bar  
attribute is not defined.)



More information about the Laszlo-dev mailing list