Unused variables

This commit is contained in:
Tim Schaub
2016-01-03 11:03:18 -07:00
parent 179b241aec
commit aac1d921c7
3 changed files with 3 additions and 9 deletions

View File

@@ -10,13 +10,9 @@ var readGeometry = function(format, text, opt_options) {
describe('ol.format.GML2', function() {
var format, formatWGS84, formatNoSrs;
var format;
beforeEach(function() {
format = new ol.format.GML2({srsName: 'CRS:84'});
formatWGS84 = new ol.format.GML2({
srsName: 'urn:x-ogc:def:crs:EPSG:4326'
});
formatNoSrs = new ol.format.GML2();
});
describe('#readFeatures', function() {
@@ -949,11 +945,10 @@ describe('ol.format.GML3', function() {
});
describe('when parsing TOPP states WFS with autoconfigure', function() {
var features, text, gmlFormat;
var features, gmlFormat;
before(function(done) {
afterLoadText('spec/ol/format/gml/topp-states-wfs.xml', function(xml) {
try {
text = xml;
gmlFormat = new ol.format.GML();
features = gmlFormat.readFeatures(xml);
} catch (e) {

View File

@@ -341,7 +341,7 @@ describe('ol.interaction.Modify', function() {
map.addInteraction(modify);
var feature = features[0];
var listeners, listener;
var listeners;
listeners = getListeners(feature, modify);
expect(listeners).to.have.length(1);

View File

@@ -159,7 +159,6 @@ describe('ol.interaction.Select', function() {
});
describe('filter features using the filter option', function() {
var select;
describe('with multi set to true', function() {