Remove lint

This commit is contained in:
Tim Schaub
2018-07-18 10:35:54 -06:00
parent 71555002a8
commit b8c9125602
20 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -82,7 +82,7 @@ describe('ol.interaction.Snap', function() {
snapInteraction.setMap(map);
const event = {
pixel: [7 + width / 2, height / 2 - 4],
pixel: [7 + width / 2, height / 2 - 4],
coordinate: [7, 4],
map: map
};
@@ -100,7 +100,7 @@ describe('ol.interaction.Snap', function() {
snapInteraction.setMap(map);
const event = {
pixel: [7 + width / 2, height / 2 - 4],
pixel: [7 + width / 2, height / 2 - 4],
coordinate: [7, 4],
map: map
};
@@ -117,7 +117,7 @@ describe('ol.interaction.Snap', function() {
snapInteraction.setMap(map);
const event = {
pixel: [5 + width / 2, height / 2 - 5],
pixel: [5 + width / 2, height / 2 - 5],
coordinate: [5, 5],
map: map
};
+1 -1
View File
@@ -251,7 +251,7 @@ describe('ol.Map', function() {
});
describe('#forEachLayerAtPixel()', function() {
describe('#forEachLayerAtPixel()', function() {
let target, map, original, log;
+1 -1
View File
@@ -50,7 +50,7 @@ describe('ol.render.Box', function() {
});
describe('#setPixels()', function() {
it('applies correct styles for a box', function() {
it('applies correct styles for a box', function() {
box.setPixels([1, 2], [4, 8]);
expect(box.element_.style.left).to.be('1px');
expect(box.element_.style.top).to.be('2px');
+2 -2
View File
@@ -5,7 +5,7 @@ import TileState from '../../../src/ol/TileState.js';
describe('ol.Tile', function() {
describe('constructor', function() {
describe('constructor', function() {
it('sets a default transition', function() {
const coord = [0, 0, 0];
const tile = new Tile(coord, TileState.IDLE);
@@ -72,7 +72,7 @@ describe('ol.Tile', function() {
tail = addToChain(tail, TileState.IDLE); //discard, deprecated by head
tail = addToChain(tail, TileState.LOADED); //keep, use for rendering
renderTile = tail; //store this tile for later tests
tail = addToChain(tail, TileState.IDLE); //rest of list outdated by tile above
tail = addToChain(tail, TileState.IDLE); //rest of list outdated by tile above
tail = addToChain(tail, TileState.LOADED);
tail = addToChain(tail, TileState.LOADING);
tail = addToChain(tail, TileState.LOADED);