I posted what may be a work-around.

It looks like this mistakenly was spec-ed as an instance function and should be a class (static) instead (and the encoder would have to be fixed too).

Seems to me the encoder should be using `instanceof` not comparing prototypes. Not all javascripts support __proto__. (It never occured to me that we had components that tried to do __proto__ hacking!)

And, I wonder if Double should be a subclass of Number? (Not sure that will work in JS1.)

On 2007-03-23, at 09:02 EDT, Max Carlson wrote:

http://forum.openlaszlo.org/showthread.php?t=8757

Do we have a testcase that verifies DoubleWrapper works properly?

--
Regards,
Max Carlson
OpenLaszlo.org


Reply via email to