make lint happy with drawinteraction.test.js
This commit is contained in:
@@ -338,8 +338,8 @@ describe('ol.interaction.Draw', function() {
|
|||||||
var draw = new ol.interaction.Draw({
|
var draw = new ol.interaction.Draw({
|
||||||
source: source,
|
source: source,
|
||||||
type: ol.geom.GeometryType.LINE_STRING,
|
type: ol.geom.GeometryType.LINE_STRING,
|
||||||
finishFunction: function(event){
|
finishFunction: function(event) {
|
||||||
if (ol.array.equals(event.pixel,[30,20])){
|
if (ol.array.equals(event.pixel,[30,20])) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
@@ -859,6 +859,7 @@ describe('ol.interaction.Draw', function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
goog.require('ol.array');
|
||||||
goog.require('ol.events');
|
goog.require('ol.events');
|
||||||
goog.require('ol.Feature');
|
goog.require('ol.Feature');
|
||||||
goog.require('ol.Map');
|
goog.require('ol.Map');
|
||||||
|
|||||||
Reference in New Issue
Block a user