Remove gjslint.py
This commit is contained in:
@@ -5,8 +5,7 @@ describe('ol.geom.LineString', function() {
|
||||
|
||||
it('can be constructed with a null geometry', function() {
|
||||
expect(function() {
|
||||
var lineString = new ol.geom.LineString(null);
|
||||
lineString = lineString; // suppress gjslint warning
|
||||
return new ol.geom.LineString(null);
|
||||
}).not.to.throwException();
|
||||
});
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@ describe('ol.geom.MultiLineString', function() {
|
||||
|
||||
it('can be constructed with a null geometry', function() {
|
||||
expect(function() {
|
||||
var multiLineString = new ol.geom.MultiLineString(null);
|
||||
multiLineString = multiLineString; // suppress gjslint warning
|
||||
return new ol.geom.MultiLineString(null);
|
||||
}).not.to.throwException();
|
||||
});
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@ describe('ol.geom.MultiPoint', function() {
|
||||
|
||||
it('can be constructed with a null geometry', function() {
|
||||
expect(function() {
|
||||
var multiPoint = new ol.geom.MultiPoint(null);
|
||||
multiPoint = multiPoint; // suppress gjslint warning
|
||||
return new ol.geom.MultiPoint(null);
|
||||
}).not.to.throwException();
|
||||
});
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@ describe('ol.geom.MultiPolygon', function() {
|
||||
|
||||
it('can be constructed with a null geometry', function() {
|
||||
expect(function() {
|
||||
var multiPolygon = new ol.geom.MultiPolygon(null);
|
||||
multiPolygon = multiPolygon; // suppress gjslint warning
|
||||
return new ol.geom.MultiPolygon(null);
|
||||
}).not.to.throwException();
|
||||
});
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@ describe('ol.geom.Point', function() {
|
||||
|
||||
it('can be constructed with a null geometry', function() {
|
||||
expect(function() {
|
||||
var point = new ol.geom.Point(null);
|
||||
point = point; // suppress gjslint warning
|
||||
return new ol.geom.Point(null);
|
||||
}).not.to.throwException();
|
||||
});
|
||||
|
||||
|
||||
@@ -5,8 +5,7 @@ describe('ol.geom.Polygon', function() {
|
||||
|
||||
it('can be constructed with a null geometry', function() {
|
||||
expect(function() {
|
||||
var polygon = new ol.geom.Polygon(null);
|
||||
polygon = polygon; // suppress gjslint warning
|
||||
return new ol.geom.Polygon(null);
|
||||
}).not.to.throwException();
|
||||
});
|
||||
|
||||
|
||||
@@ -59,9 +59,7 @@ describe('ol.TileRange', function() {
|
||||
|
||||
describe('with mixed z', function() {
|
||||
expect(function() {
|
||||
var tileRange = new ol.TileRange.boundingTileRange(
|
||||
[3, 1, 3], [4, 2, 0]);
|
||||
tileRange = tileRange; // suppress gjslint warning about unused variable
|
||||
return new ol.TileRange.boundingTileRange([3, 1, 3], [4, 2, 0]);
|
||||
}).to.throwException();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user