[OpenLayers-Dev] Re: lib evaluation performance

Xavier Mamano (jorix) xavier.mamano at gmail.com
Tue Nov 2 14:15:57 EDT 2010



Eric Lemoine-2-2 wrote:
> 
>> Hi,
>>
>> And more... 2.x code can be compatible with pure JavaScript. It is only
>> necessary:
>>
>> var A = function () {...} / / constructor
>> A.prototype = {
>>     ...
>>     initialize: function () { // * Deprecated *
>>         A.apply(this, arguments);
>>     }
>> }, / / Prototype definition
> 
> That's correct. Yet, we already have a compatibility layer in the 2.x
> branch (with OpenLayers.Class.inherit), so I'd prefer to not introduce
> another one, especially given that we wouldn't gain much from it. It's
> a different story for 3.x—with OpenLayers.inherit it doesn't make
> sense to keep OpenLayers.Class in my opinion.
> 
> Thanks jorix,
> 
> -- 
> 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
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> 
> 
Hi,

Yes, yes. I thought of the possibility of making changes in 2.x with pure
javascript, had in mind 
  http://trac.osgeo.org/openlayers/ticket/522#comment:5 
Not for the backward compatibility of 3.0

Xavier
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/lib-evaluation-performance-tp5696447p5698573.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.


More information about the Dev mailing list