From fd184a390380967ab29dca1bb76cda747b5bea48 Mon Sep 17 00:00:00 2001 From: euzuro Date: Mon, 29 May 2006 18:27:24 +0000 Subject: [PATCH] little bitta JSDOC git-svn-id: http://svn.openlayers.org/trunk/openlayers@457 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Text.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/OpenLayers/Layer/Text.js b/lib/OpenLayers/Layer/Text.js index 2124bcab01..17d45c13c3 100644 --- a/lib/OpenLayers/Layer/Text.js +++ b/lib/OpenLayers/Layer/Text.js @@ -1,4 +1,5 @@ // @require: OpenLayers/Layer/Markers.js + /** * @class */ @@ -17,6 +18,7 @@ OpenLayers.Layer.Text.prototype = * @constructor * * @param {String} name + * @param {String} location */ initialize: function(name, location) { OpenLayers.Layer.Markers.prototype.initialize.apply(this, [name]); @@ -24,6 +26,10 @@ OpenLayers.Layer.Text.prototype = new Ajax.Request(location, { method: 'get', onComplete:this.parseData.bind(this) } ); }, + + /** + * @param {?} ajaxRequest + */ parseData: function(ajaxRequest) { var text = ajaxRequest.responseText; var lines = text.split('\n');