[OpenLayers-Dev] 2.10 and 2.11-RC1 OpenLayers.Class behavior changes

Eric Lemoine eric.lemoine at camptocamp.com
Wed Aug 3 10:08:34 EDT 2011


>>> 2/ in test 4, if you remove the initialize function from B and overload
>>> A,
>>> the B constructor is still the previous A's constructor.
>>
>> Yes. To address this one I see no other solution than patching
>> OpenLayers.Class. See the patch attached to this email, and my
>> test_overload_5 test function. The Class.html tests continue to pass
>> with my patch.
>>
>
> this works in OL 2.11, not in OL 2.10 for me !-(
> I guess there is something similar to do in OL 2.10 ?

Your initial mail was about OpenLayers trunk/2.11 introducing
regressions. Now the failing test that remains is OL 2.10-only, so OL
trunk/2.11 works better than OL 2.10 for you. Yippee! :-)

(Not sure it is worth "fixing" OL 2.10 for that.)

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list