From 47379ff7a27cf483d5773177f60c72a54903cd3b Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 2 Oct 2012 16:28:59 +0200 Subject: [PATCH] Do not provide an 1.1 parser --- lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js b/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js index 771a7b16a2..44c7bfe889 100644 --- a/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js +++ b/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js @@ -9,7 +9,7 @@ */ /** - * Class: OpenLayers.Format.WMSDescribeLayer.v1_1 + * Class: OpenLayers.Format.WMSDescribeLayer.v1_1_1 * Read SLD WMS DescribeLayer response for WMS 1.1.X * WMS 1.1.X is tightly coupled to SLD 1.0.0 * @@ -19,7 +19,7 @@ * Inherits from: * - */ -OpenLayers.Format.WMSDescribeLayer.v1_1 = OpenLayers.Class( +OpenLayers.Format.WMSDescribeLayer.v1_1_1 = OpenLayers.Class( OpenLayers.Format.WMSDescribeLayer, { /** @@ -113,11 +113,10 @@ OpenLayers.Format.WMSDescribeLayer.v1_1 = OpenLayers.Class( return describelayer; }, - CLASS_NAME: "OpenLayers.Format.WMSDescribeLayer.v1_1" + CLASS_NAME: "OpenLayers.Format.WMSDescribeLayer.v1_1_1" }); -// Version aliases - workaround for http://trac.osgeo.org/mapserver/ticket/2257 -OpenLayers.Format.WMSDescribeLayer.v1_1_1 = - OpenLayers.Format.WMSDescribeLayer.v1_1_0 = - OpenLayers.Format.WMSDescribeLayer.v1_1; +// Version alias - workaround for http://trac.osgeo.org/mapserver/ticket/2257 +OpenLayers.Format.WMSDescribeLayer.v1_1_0 = + OpenLayers.Format.WMSDescribeLayer.v1_1_1;