[OpenLayers-Dev] {} or new Object()

Jeff Dege jdege at korterra.com
Tue Jul 24 15:51:25 EDT 2007


Which is more likely to cause conflicts with other javascript class
frameworks?

Everybody and his brother seems to override $(), which causes no end of
headaches. 

> -----Original Message-----
> From: dev-bounces at openlayers.org 
> [mailto:dev-bounces at openlayers.org] On Behalf Of Erik Uzureau
> Sent: Tuesday, July 24, 2007 2:43 PM
> To: dev at openlayers
> Subject: [OpenLayers-Dev] {} or new Object()
> 
> Paul has just gone vocal with his preference for using {} instead of
> "new Object()" for the instantantiation of a new object.
> 
> We do not currently have any policy for this. Do people feel strongly
> one way or the other?
> 
> Obviously it's not a big issue, but if there is broad support for
> doing it one way or the other, we might as well attempt to standardize
> a bit.
> 
> Erik
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 



More information about the Dev mailing list