diff --git a/examples/modify-test.js b/examples/modify-test.js index 795932f902..8d05759091 100644 --- a/examples/modify-test.js +++ b/examples/modify-test.js @@ -13,7 +13,6 @@ goog.require('ol.style.Style'); var styleFunction = (function() { - /* jshint -W069 */ var styles = {}; var image = new ol.style.Circle({ radius: 5, @@ -58,7 +57,6 @@ var styleFunction = (function() { return function(feature, resolution) { return styles[feature.getGeometry().getType()] || styles['default']; }; - /* jshint +W069 */ })(); var geojsonObject = { @@ -169,7 +167,6 @@ var layer = new ol.layer.Vector({ }); var overlayStyle = (function() { - /* jshint -W069 */ var styles = {}; styles['Polygon'] = [ new ol.style.Style({ @@ -230,7 +227,6 @@ var overlayStyle = (function() { return function(feature, resolution) { return styles[feature.getGeometry().getType()]; }; - /* jshint +W069 */ })(); var select = new ol.interaction.Select({ diff --git a/examples/tileutfgrid.js b/examples/tileutfgrid.js index 89a26759b3..ebc1cd96aa 100644 --- a/examples/tileutfgrid.js +++ b/examples/tileutfgrid.js @@ -49,10 +49,8 @@ var displayCountryInfo = function(coordinate) { // info.innerHTML = Mustache.render(gridSource.getTemplate(), data); mapElement.style.cursor = data ? 'pointer' : ''; if (data) { - /* jshint -W069 */ flagElement.src = 'data:image/png;base64,' + data['flag_png']; nameElement.innerHTML = data['admin']; - /* jshint +W069 */ } infoOverlay.setPosition(data ? coordinate : undefined); }); diff --git a/src/ol/source/wmtssource.js b/src/ol/source/wmtssource.js index 854f1062d5..b9fd7c0d8e 100644 --- a/src/ol/source/wmtssource.js +++ b/src/ol/source/wmtssource.js @@ -338,8 +338,6 @@ ol.source.WMTS.prototype.updateDimensions = function(dimensions) { */ ol.source.WMTS.optionsFromCapabilities = function(wmtsCap, config) { - /* jshint -W069 */ - // TODO: add support for TileMatrixLimits goog.asserts.assert(config['layer'], 'config "layer" must not be null'); @@ -501,6 +499,4 @@ ol.source.WMTS.optionsFromCapabilities = function(wmtsCap, config) { wrapX: wrapX }; - /* jshint +W069 */ - };