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
|
/** internal marker list
|
||||||
* @type Array(OpenLayers.Marker) */
|
* @type Array(OpenLayers.Marker) */
|
||||||
markers: null,
|
markers: [],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @constructor
|
* @constructor
|
||||||
|
|||||||
@@ -52,9 +52,11 @@ OpenLayers.Marker.prototype = {
|
|||||||
this.object.onclick = this.onclick;
|
this.object.onclick = this.onclick;
|
||||||
return this.object;
|
return this.object;
|
||||||
},
|
},
|
||||||
|
|
||||||
onclick: function(evt) {
|
onclick: function(evt) {
|
||||||
alert('onclick');
|
alert('onclick');
|
||||||
}
|
},
|
||||||
|
|
||||||
/** @final @type String */
|
/** @final @type String */
|
||||||
CLASS_NAME: "OpenLayers.Marker"
|
CLASS_NAME: "OpenLayers.Marker"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user