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

André Bargull a.bargull at intensis.de
Wed Dec 5 15:15:30 PST 2007


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