Merge pull request #702 from beatrycze-volk/remove-semicolons

Remove not needed semicolons
This commit is contained in:
Alexander Bigga 2021-10-19 21:26:13 +02:00 committed by GitHub
commit 622370ec57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View File

@ -173,7 +173,7 @@ dlfAltoParser.prototype.parseFeatures = function(document) {
};
pageFeatures.push(feature);
};
}
return pageFeatures;
};

View File

@ -104,7 +104,7 @@ function DlfAnnotationControl(map, image, annotationContainers) {
// hover in case of dragging
if (event['dragging']) {
return;
};
}
var hoverSourceAnnotation = this.layers_.hoverAnnotation.getSource(),
hoverSourceAnnotationList = this.layers_.hoverAnnotationList.getSource(),

View File

@ -118,7 +118,7 @@ DlfIiifAnnotationParser.prototype.parseAnnotationList = function(annotationList,
for (var i = 0; i < listCoordinatesWithoutScale[0].length; i++) {
coordinatesRescale.push([(scale * listCoordinatesWithoutScale[0][i][0]),
0 - (scale * listCoordinatesWithoutScale[0][i][1])]);
};
}
var listGeometry = new ol.geom.Polygon([coordinatesRescale]),
listFeature = new ol.Feature(listGeometry);

View File

@ -157,7 +157,7 @@ dlfViewerImageManipulationControl = function(options) {
value = FILTERS_DEFAULT_[String(type)];
$(sliderEl).slider('value', value);
};
}
}, this)
};
};

View File

@ -355,7 +355,7 @@ dlfViewer.prototype.displayHighlightWord = function(highlightWords = null) {
for (var i = 0; i < features.length; i++) {
this.highlightLayer.getSource().addFeatures([features[i]]);
}
};
}
}, this));
};
};

View File

@ -19,7 +19,7 @@ function nextResultPage() {
var newStart = parseInt(currentStart) + 20;
$("#tx-dlf-search-in-document-form input[id='tx-dlf-search-in-document-start']").val(newStart);
$('#tx-dlf-search-in-document-form').submit();
};
}
/**
* This function decreases the start parameter of the search form and submits
@ -32,7 +32,7 @@ function previousResultPage() {
var newStart = (parseInt(currentStart) > 20) ? (parseInt(currentStart) - 20) : 0;
$("#tx-dlf-search-in-document-form input[id='tx-dlf-search-in-document-start']").val(newStart);
$('#tx-dlf-search-in-document-form').submit();
};
}
/**
* This function resets the start parameter on new queries.