[Laszlo-dev] [Laszlo-checkins] r13786 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml

Max Carlson max at laszlosystems.com
Thu Apr 30 16:46:22 PDT 2009


Look again - the key doesn't get set unless the div is being created.  I 
agree the names are confusing...

P T Withington wrote:
> Right, what I'm saying is the same div is going to be in the 
> _sziedomcache more than once, which could cause confusion.  Personally, 
> I don't care if that makes IE not work, but some people might... :P
> 
> On 2009-04-30, at 19:16EDT, Max Carlson wrote:
> 
>> There won't be multiple entries because we only create a div per style 
>> - see:
>>
>> var mdiv = _sizecache[mdivKey];
>>
>> In any case, that hash is only used by IE to prevent memory leaks...
>>
>> P T Withington wrote:
>>> This doesn't seem right to me:
>>> On 2009-04-30, at 18:57EDT, max at openlaszlo.org wrote:
>>>> +        ltsp._sizedomcache['lzdiv~~~' + cacheFullKey] = mdiv;
>>> Isn't it redundant with the _sizecache now?  Won't the same mdiv have 
>>> multiple entries in the _sizedomcache?
>>
>> -- 
>> Regards,
>> Max Carlson
>> OpenLaszlo.org
> 

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-dev mailing list