Unused variables
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user