Suppress jshint warnings about use of String as a constructor

This commit is contained in:
Tom Payne
2014-03-23 18:36:45 +01:00
parent 06dc1aa4f2
commit aeb1626b08
2 changed files with 4 additions and 0 deletions

View File

@@ -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) {