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({
|
||||
source: source,
|
||||
type: ol.geom.GeometryType.LINE_STRING,
|
||||
finishFunction: function(event){
|
||||
if (ol.array.equals(event.pixel,[30,20])){
|
||||
finishFunction: function(event) {
|
||||
if (ol.array.equals(event.pixel,[30,20])) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
@@ -859,6 +859,7 @@ describe('ol.interaction.Draw', function() {
|
||||
});
|
||||
});
|
||||
|
||||
goog.require('ol.array');
|
||||
goog.require('ol.events');
|
||||
goog.require('ol.Feature');
|
||||
goog.require('ol.Map');
|
||||
|
||||
Reference in New Issue
Block a user