[Laszlo-dev] special case in text sprite for "null" value ?
P T Withington
ptw at pobox.com
Wed Dec 5 13:41:43 PST 2007
Sounds like a kludge... Surely setting the text to `null` is supposed
to be one way of saying there is no text, but someone along the way is
coercing `null` to a string so it comes across as "null" instead?
On 2007-12-05, at 15:36 EST, Henry Minsky wrote:
> I came across this in the swf and dhtml text sprite implementations,
> the setText method converts a value of the string "null" into the
> empty string
>
> http://jira.openlaszlo.org/jira/browse/LPP-5196
>
> Anyone remember why we do this? Seems like a bad idea.
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list