Suppress jshint warnings about use of String as a constructor
This commit is contained in:
@@ -237,7 +237,9 @@ ol.source.TileWMS.prototype.getRequestUrl_ =
|
||||
params[this.v13_ ? 'CRS' : 'SRS'] = projection.getCode();
|
||||
|
||||
if (!('STYLES' in this.params_)) {
|
||||
/* jshint -W053 */
|
||||
goog.object.set(params, 'STYLES', new String(''));
|
||||
/* jshint +W053 */
|
||||
}
|
||||
|
||||
if (pixelRatio != 1) {
|
||||
|
||||
Reference in New Issue
Block a user