diff --git a/lib/OpenLayers/Request.js b/lib/OpenLayers/Request.js index 3a5865bc0a..c1598143ad 100644 --- a/lib/OpenLayers/Request.js +++ b/lib/OpenLayers/Request.js @@ -7,6 +7,12 @@ * @requires OpenLayers/Events.js */ +/** + * TODO: deprecate me + * Use OpenLayers.Request.proxy instead. + */ +OpenLayers.ProxyHost = ""; + /** * Namespace: OpenLayers.Request * The OpenLayers.Request namespace contains convenience methods for working diff --git a/lib/OpenLayers/Ajax.js b/lib/deprecated.js similarity index 94% rename from lib/OpenLayers/Ajax.js rename to lib/deprecated.js index 92235025ae..af9792dcd5 100644 --- a/lib/OpenLayers/Ajax.js +++ b/lib/deprecated.js @@ -1,40 +1,3 @@ -/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for - * full list of contributors). Published under the Clear BSD license. - * See http://svn.openlayers.org/trunk/openlayers/license.txt for the - * full text of the license. */ - -/** - * @requires OpenLayers/Request/XMLHttpRequest.js - * @requires OpenLayers/Console.js - * @requires OpenLayers/Lang.js - */ - -OpenLayers.ProxyHost = ""; -//OpenLayers.ProxyHost = "examples/proxy.cgi?url="; - -/** - * Ajax reader for OpenLayers - * - * @uri url to do remote XML http get - * @param {String} 'get' format params (x=y&a=b...) - * @who object to handle callbacks for this request - * @complete the function to be called on success - * @failure the function to be called on failure - * - * example usage from a caller: - * - * caps: function(request) { - * -blah- - * }, - * - * OpenLayers.loadURL(url,params,this,caps); - * - * Notice the above example does not provide an error handler; a default empty - * handler is provided which merely logs the error if a failure handler is not - * supplied - * - */ - /** * Function: OpenLayers.nullHandler