coding standards: replace 'new Array()' with '[]'

This commit is contained in:
Frederic Junod
2012-01-22 14:21:17 +01:00
committed by fredj
parent 271e3b61bd
commit 56d22ff9ad
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ OpenLayers.Layer.Text = OpenLayers.Class(OpenLayers.Layer.Markers, {
*/
initialize: function(name, options) {
OpenLayers.Layer.Markers.prototype.initialize.apply(this, arguments);
this.features = new Array();
this.features = [];
},
/**