[OpenLayers-Dev] 2.10 and 2.11-RC1 OpenLayers.Class behavior
changes
Schuyler Erle
schuyler at nocat.net
Sun Jul 24 16:07:45 EDT 2011
On Jul 24, 2011, at 4:43 AM, RICHARD Didier wrote:
> With 2.10, overloading constructors was as simple as overwriting the
> initialize prototype :
>
> X.prototype.initialize= function () { ...}
>
> In 2.11-RC1, it breaks as the new prototype is not the constructor !
> ...
>
> BTW, as this new OpenLayers.Class is a major change in OpenLayers, don't
> you thing it is more a 3.0 feature than a 2.x ?
I confess I'm a little concerned about this... Are we breaking backwards compatibility with such a change?
SDE
More information about the Dev
mailing list