Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fixed minor lint errors

Benjamincee1ad36e42d
diff --git a/deploy/wv.js.json b/deploy/wv.js.json
index 20cd3c441..02f1f6be9 100644
--- a/deploy/wv.js.json
+++ b/deploy/wv.js.json
@@ -6,7 +6,7 @@
"node_modules/lodash/lodash.js",
"node_modules/bluebird/js/browser/bluebird.js",
"node_modules/promise-queue/lib/index.js",
- "node_modules/worldview-timeline-components/browser/wvtc.js"
+ "node_modules/worldview-timeline-components/browser/wvtc.js",
"web/js/ol.wv/ol.wv.lookupimagetile.js",
diff --git a/web/js/animation/wv.anim.ui.js b/web/js/animation/wv.anim.ui.js
index 22bc4d1ae..83c3fb3ea 100644
--- a/web/js/animation/wv.anim.ui.js
+++ b/web/js/animation/wv.anim.ui.js
@@ -173,7 +173,7 @@ wv.anim.ui = wv.anim.ui || function(models, ui) {
if(wv.util.toISOStringDate(day) === lastToQueue) {
self.addDate(day);
loader = wv.ui.indicator.loading();
- return
+ return;
} else if(wv.util.toISOStringDate(day) === wv.util.toISOStringDate(currentDate)) {
queueLength = i;
loader = wv.ui.indicator.loading();
diff --git a/web/js/animation/wv.anim.widget.js b/web/js/animation/wv.anim.widget.js
index a14df2b9a..fa84231e0 100644
--- a/web/js/animation/wv.anim.widget.js
+++ b/web/js/animation/wv.anim.widget.js
@@ -86,7 +86,7 @@ wv.anim.widget = wv.anim.widget || function(models, config, ui) {
self.onZoomSelect = function(increment) {
var zoomLevel = _.indexOf(zooms, increment);
return timeline.config.zoom(zoomLevel + 1);
- }
+ };
self.dateUpdate = function(startDate, endDate) {
model.rangeState.startDate = wv.util.toISOStringDate(startDate) || 0;
model.rangeState.endDate = wv.util.toISOStringDate(endDate);
diff --git a/web/js/map/wv.map.runningdata.js b/web/js/map/wv.map.runningdata.js
index 0acf626c9..5f0a2dd78 100644
--- a/web/js/map/wv.map.runningdata.js
+++ b/web/js/map/wv.map.runningdata.js
@@ -214,7 +214,7 @@ wv.map.runningdata = wv.map.runningdata || function(models) {
};
self.clearAll = function() {
$('.wv-running').removeClass('wv-running');
- }
+ };
/*
* Add running-data component to palette for
* category layers
diff --git a/web/js/map/wv.map.ui.js b/web/js/map/wv.map.ui.js
index 7aca68b23..f5eede076 100644
--- a/web/js/map/wv.map.ui.js
+++ b/web/js/map/wv.map.ui.js
@@ -8,7 +8,6 @@
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*/
-// jshint unused:true
var wv = wv || {};
wv.map = wv.map || {};
diff --git a/web/js/util/wv.util.js b/web/js/util/wv.util.js
index e38f3a612..7c5d6ecf5 100644
--- a/web/js/util/wv.util.js
+++ b/web/js/util/wv.util.js
@@ -262,7 +262,7 @@ wv.util = (function(self) {
};
self.objectLength = function(obj) {
return Object.keys(obj).length;
- }
+ };
/**
* Returns the day of week for the given date object