[Laszlo-dev] special case in text sprite for "null" value?

P T Withington ptw at pobox.com
Wed Dec 5 15:32:28 PST 2007


Thanks. I marked it as so.

On 2007-12-05, at 18:15 EST, André Bargull wrote:

> LPP-5196 is a dup of LPP-4740.
>
>> 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