Prefer single line assignment to 80 character limit
This commit is contained in:
@@ -136,8 +136,7 @@ ol.source.ImageWMS.GETFEATUREINFO_IMAGE_SIZE_ = [101, 101];
|
||||
* @return {string|undefined} GetFeatureInfo URL.
|
||||
* @api stable
|
||||
*/
|
||||
ol.source.ImageWMS.prototype.getGetFeatureInfoUrl =
|
||||
function(coordinate, resolution, projection, params) {
|
||||
ol.source.ImageWMS.prototype.getGetFeatureInfoUrl = function(coordinate, resolution, projection, params) {
|
||||
|
||||
goog.asserts.assert(!('VERSION' in params),
|
||||
'key VERSION is not allowed in params');
|
||||
@@ -185,8 +184,7 @@ ol.source.ImageWMS.prototype.getParams = function() {
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.source.ImageWMS.prototype.getImageInternal =
|
||||
function(extent, resolution, pixelRatio, projection) {
|
||||
ol.source.ImageWMS.prototype.getImageInternal = function(extent, resolution, pixelRatio, projection) {
|
||||
|
||||
if (this.url_ === undefined) {
|
||||
return null;
|
||||
@@ -271,8 +269,7 @@ ol.source.ImageWMS.prototype.getImageLoadFunction = function() {
|
||||
* @return {string} Request URL.
|
||||
* @private
|
||||
*/
|
||||
ol.source.ImageWMS.prototype.getRequestUrl_ =
|
||||
function(extent, size, pixelRatio, projection, params) {
|
||||
ol.source.ImageWMS.prototype.getRequestUrl_ = function(extent, size, pixelRatio, projection, params) {
|
||||
|
||||
goog.asserts.assert(this.url_ !== undefined, 'url is defined');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user