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:
@@ -7,7 +7,7 @@ OpenLayers.Layer.Marker.prototype =
|
||||
|
||||
/** internal marker list
|
||||
* @type Array(OpenLayers.Marker) */
|
||||
markers: null,
|
||||
markers: [],
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user