doesnt look like we're going to add a logger any time soon. might as well get rid of these old logger references.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@550 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -30,7 +30,7 @@ OpenLayers.ProxyHost = "/viewer/Crossbrowser/blindproxy.py?url=";
|
||||
* @param {} request
|
||||
*/
|
||||
OpenLayers.nullHandler = function(request) {
|
||||
// ol.Log.warn("Unhandled request return " + request.statusText);
|
||||
alert("Unhandled request return " + request.statusText);
|
||||
};
|
||||
|
||||
/** Background load a document
|
||||
@@ -55,8 +55,6 @@ OpenLayers.loadURL = function(uri, params, caller,
|
||||
params += "&cachehack=" + new Date().getTime();
|
||||
}
|
||||
|
||||
// ol.Log.debug("loadURL [" + uri + "]");
|
||||
|
||||
var success = (onComplete) ? onComplete.bind(caller)
|
||||
: OpenLayers.nullHandler;
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ OpenLayers.Tile.prototype = {
|
||||
// HACK HACK - should we make it a standard to put this sort of warning
|
||||
// message in functions that are supposed to be overridden?
|
||||
//
|
||||
// ol.Log.warn(this.CLASS_NAME + ": draw() not implemented");
|
||||
// Log.warn(this.CLASS_NAME + ": draw() not implemented");
|
||||
|
||||
},
|
||||
|
||||
|
||||
@@ -60,7 +60,6 @@ OpenLayers.Tile.WFS.prototype =
|
||||
// result isn't immediately retrieved, but it's hacky.
|
||||
// Do it better.
|
||||
this.loaded = true;
|
||||
// ol.Log.info("request string: " + this.url);
|
||||
OpenLayers.loadURL(this.url, null, this, success, failure);
|
||||
}
|
||||
}
|
||||
@@ -78,8 +77,6 @@ OpenLayers.Tile.WFS.prototype =
|
||||
}
|
||||
|
||||
var resultFeatures = OpenLayers.Util.getNodes(doc, "gml:featureMember");
|
||||
// ol.Log.info(this.layer.name + " found " +
|
||||
// resultFeatures.length + " features");
|
||||
|
||||
//clear old featureList
|
||||
this.features = new Array();
|
||||
|
||||
Reference in New Issue
Block a user