Remove gjslint.py

This commit is contained in:
Tim Schaub
2016-01-09 20:13:29 -07:00
parent 0a5d15db50
commit 8d80924ba8
11 changed files with 11 additions and 42 deletions

View File

@@ -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();
});

View File

@@ -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();
});

View File

@@ -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();
});

View File

@@ -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();
});

View File

@@ -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();
});

View File

@@ -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();
});

View File

@@ -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();
});
});