Repeat after me: Test first, then commit. Test first, then commit. Test first, then commit.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@134 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-18 11:25:58 +00:00
parent 575474654b
commit 213055fdaa
2 changed files with 4 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ OpenLayers.Layer.Marker.prototype =
/** internal marker list
* @type Array(OpenLayers.Marker) */
markers: null,
markers: [],
/**
* @constructor

View File

@@ -52,9 +52,11 @@ OpenLayers.Marker.prototype = {
this.object.onclick = this.onclick;
return this.object;
},
onclick: function(evt) {
alert('onclick');
}
},
/** @final @type String */
CLASS_NAME: "OpenLayers.Marker"
}