From 9a80c5f30ff5f74e91070dce8369b631e7c913a6 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Wed, 11 Jan 2012 15:33:25 +0100 Subject: [PATCH] incorporate ahocevar's review --- lib/OpenLayers/Protocol.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/OpenLayers/Protocol.js b/lib/OpenLayers/Protocol.js index e6a4ae6f4f..0d00449f66 100644 --- a/lib/OpenLayers/Protocol.js +++ b/lib/OpenLayers/Protocol.js @@ -231,10 +231,19 @@ OpenLayers.Protocol.Response = OpenLayers.Class({ /** * Property: features * {Array({})} or {} - * The features returned in the response by the server. + * The features returned in the response by the server. Depending on the + * protocol's read payload, either features or data will be populated. */ features: null, + /** + * Property: data + * {Object} + * The data returned in the response by the server. Depending on the + * protocol's read payload, either features or data will be populated. + */ + data: null, + /** * Property: reqFeatures * {Array({})} or {}