Use URL instead of Url or url in comments and strings

This commit is contained in:
Tom Payne
2013-09-20 12:28:04 +01:00
parent f24c9a807f
commit abaa220314
7 changed files with 17 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ ol.ImageUrlFunctionType;
/**
* @param {string} baseUrl Base URL (may have query data).
* @param {Object.<string,*>} params to encode in the url.
* @param {Object.<string,*>} params to encode in the URL.
* @param {function(string, Object.<string,*>, ol.Extent, ol.Size,
* ol.proj.Projection): (string|undefined)} paramsFunction params function.
* @return {ol.ImageUrlFunctionType} Image URL function.

View File

@@ -111,7 +111,7 @@ ol.source.ImageWMS.prototype.getFeatureInfoForPixel =
extent = [bottomLeft[0], topRight[0], bottomLeft[1], topRight[1]],
url = this.imageUrlFunction(extent, size, projection);
goog.asserts.assert(goog.isDef(url),
'ol.source.ImageWMS#imageUrlFunction does not return a url');
'ol.source.ImageWMS#imageUrlFunction does not return a URL');
ol.source.wms.getFeatureInfo(url, pixel, this.getFeatureInfoOptions_, success,
opt_error);
};

View File

@@ -147,7 +147,7 @@ ol.source.TileWMS.prototype.getFeatureInfoForPixel =
offset = map.getPixelFromCoordinate(ol.extent.getTopLeft(tileExtent)),
url = this.tileUrlFunction(tileCoord, projection);
goog.asserts.assert(goog.isDef(url),
'ol.source.TileWMS#tileUrlFunction does not return a url');
'ol.source.TileWMS#tileUrlFunction does not return a URL');
ol.source.wms.getFeatureInfo(url,
[pixel[0] - offset[0], pixel[1] - offset[1]], this.getFeatureInfoOptions_,
success, opt_error);

View File

@@ -25,7 +25,7 @@ ol.source.WMSGetFeatureInfoMethod = {
/**
* @param {string} baseUrl WMS base url.
* @param {string} baseUrl WMS base URL.
* @param {Object.<string, string|number>} params Request parameters.
* @param {ol.Extent} extent Extent.
* @param {ol.Size} size Size.

View File

@@ -173,8 +173,8 @@ ol.style.Icon.prototype.getRotation = function() {
/**
* Get the url.
* @return {ol.expr.Expression} Icon url.
* Get the URL.
* @return {ol.expr.Expression} Icon URL.
*/
ol.style.Icon.prototype.getUrl = function() {
return this.url_;
@@ -239,8 +239,8 @@ ol.style.Icon.prototype.setRotation = function(rotation) {
/**
* Set the url.
* @param {ol.expr.Expression} url Icon url.
* Set the URL.
* @param {ol.expr.Expression} url Icon URL.
*/
ol.style.Icon.prototype.setUrl = function(url) {
goog.asserts.assertInstanceof(url, ol.expr.Expression);

View File

@@ -84,7 +84,7 @@ ol.TileUrlFunction.createFromTileUrlFunctions = function(tileUrlFunctions) {
/**
* @param {string} baseUrl Base URL (may have query data).
* @param {Object.<string,*>} params to encode in the url.
* @param {Object.<string,*>} params to encode in the URL.
* @param {function(this: ol.source.TileImage, string, Object.<string,*>,
* ol.Extent, ol.Size, ol.proj.Projection)} paramsFunction params function.
* @return {ol.TileUrlFunctionType} Tile URL function.
@@ -156,7 +156,7 @@ ol.TileUrlFunction.withTileCoordTransform =
/**
* @param {string} url Url.
* @param {string} url URL.
* @return {Array.<string>} Array of urls.
*/
ol.TileUrlFunction.expandUrl = function(url) {