Interactive interface for browsing global, full-resolution satellite imagery
fix linting issues, add function doc
Jason Kent0f83f2f758f5
diff --git a/web/js/map/layerbuilder.js b/web/js/map/layerbuilder.jsindex 3b516a52f..6704317ad 100644--- a/web/js/map/layerbuilder.js+++ b/web/js/map/layerbuilder.js@@ -130,7 +130,9 @@ export function mapLayerBuilder(models, config, cache, ui, store) {/*** For subdaily layers, round the time down to nearest interval.* NOTE: Assumes intervals are the same for all ranges!- * @param {*} date+ * @param {object} def+ * @param {date} date+ * @return {date}*/const nearestInterval = function(def, date) {const dateInterval = lodashGet(def, 'dateRanges[0].dateInterval');