On Sat, Oct 16, 2010 at 8:57 PM, Andreas Hocevar <ahoce...@opengeo.org> wrote:
> Hi,
>
> my opinion is that we can make much more use of object literals internally. 
> Which means e.g. to say
>
> var a = {x: 23.4, y: 42.4};
>
> instead of
>
> var a = new OpenLayers.Pixel(23.4, 42.4);
>
> We can do this wherever we just pass on values, without the need to call any 
> memeber functions.

I fully agree with this.


-- 
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

Reply via email to