From c10fdec8e7024588a057b285376c1e35ae40a33b Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 23 May 2006 19:06:41 +0000 Subject: [PATCH] OpenLayers.Feature - JSDOC/coding standards git-svn-id: http://svn.openlayers.org/trunk/openlayers@296 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Feature.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/lib/OpenLayers/Feature.js b/lib/OpenLayers/Feature.js index f989696e0b..bdf567f7ff 100644 --- a/lib/OpenLayers/Feature.js +++ b/lib/OpenLayers/Feature.js @@ -4,18 +4,25 @@ OpenLayers.Feature = Class.create(); OpenLayers.Feature.prototype= { - // events object + /** @type OpenLayers.Events */ events:null, /** @type String */ id: null, - // ol.LonLat + /** @type OpenLayers.LonLat */ lonlat:null, - // Object + /** @type Object */ data:null, + /** + * @constructor + * + * @param {String} id + * @param {OpenLayers.LonLat} lonlat + * @param {Object} data + */ initialize: function(id, lonlat, data) { this.id = id; this.lonlat = lonlat; @@ -64,7 +71,5 @@ OpenLayers.Feature.prototype= { return contentHTML; }, - ///////////////////////////////// - who:function(){return ("Feature.js");} //last - + CLASS_NAME: "OpenLayers.Feature" };