Add missing JSDoc tags

This commit is contained in:
Frederic Junod
2016-01-25 08:49:30 +01:00
parent 0b70124cdd
commit b7cbd20b6f
3 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ ol.geom.flat.contains.linearRingContainsExtent = function(flatCoordinates, offse
var outside = ol.extent.forEachCorner(extent,
/**
* @param {ol.Coordinate} coordinate Coordinate.
* @return {boolean} Contains (x, y).
*/
function(coordinate) {
return !ol.geom.flat.contains.linearRingContainsXY(flatCoordinates,

View File

@@ -285,6 +285,7 @@ ol.interaction.Select.handleEvent = function(mapBrowserEvent) {
/**
* @param {ol.Feature|ol.render.Feature} feature Feature.
* @param {ol.layer.Layer} layer Layer.
* @return {boolean|undefined} Continue to iterate over the features.
*/
function(feature, layer) {
if (this.filter_(feature, layer)) {

View File

@@ -511,7 +511,7 @@ ol.source.Vector.prototype.forEachFeatureIntersectingExtent = function(extent, c
return this.forEachFeatureInExtent(extent,
/**
* @param {ol.Feature} feature Feature.
* @return {S|undefined}
* @return {S|undefined} The return value from the last call to the callback.
* @template S
*/
function(feature) {