Eric Lemoine-2-2 wrote: > > Hi > > To follow up on <http://trac.osgeo.org/openlayers/ticket/2899> I've > run experiments ... > > This change cannot be done in 2.x as it will break > application code defining classes using OpenLayers.Class... > > Thanks, > > -- > 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.lemo...@camptocamp.com > http://www.camptocamp.com > _______________________________________________ > Dev mailing list > d...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-dev > > 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 -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/lib-evaluation-performance-tp5696447p5697727.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev