openlayers/openlayers — Issue #33: Remove OpenLayers.Size
Author: tmcw
Created: 2011-10-27 20:04:47+00:00
State: open

I can't find any instances of the `OpenLayers.Size` class being a useful abstraction over a 2-element array - clone can be implemented with `Array.prototype.slice()`, and `.equals` could be a simple utility function, or `a[0] == b[0] && a[1] == b[1]`.

Not necessary, somewhat just something that could be pushed for OL3, but it's been the trend to use bare types where this kind of abstraction is unnecessary.