From ce76180daefae807d6f17172a46e56dc12be5eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Wed, 30 Apr 2008 19:02:36 +0000 Subject: [PATCH] better ND comments, related to #1419 which I'm going to close git-svn-id: http://svn.openlayers.org/trunk/openlayers@7039 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Ajax.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Ajax.js b/lib/OpenLayers/Ajax.js index 8c044a302b..08e5b29c82 100644 --- a/lib/OpenLayers/Ajax.js +++ b/lib/OpenLayers/Ajax.js @@ -43,7 +43,9 @@ OpenLayers.nullHandler = function(request) { * * Parameters: * uri - {String} URI of source doc - * params - {String} Params on get (doesnt seem to work) + * params - {String} or {Object} GET params. Either a string in the form + * "?hello=world&foo=bar" (do not forget the leading question mark) + * or an object in the form {'hello': 'world', 'foo': 'bar} * caller - {Object} object which gets callbacks * onComplete - {Function} Optional callback for success. The callback * will be called with this set to caller and will receive the request