Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix camelCase of lodash imports

Jo Sprague56f40e225214
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.js
index b10c1c663..f94e4a617 100644
--- a/web/js/animation/gif.js
+++ b/web/js/animation/gif.js
@@ -4,7 +4,7 @@ import wvui from '../ui/ui';
import gifshot from 'gifshot';
import lodashFind from 'lodash/find';
import lodashEach from 'lodash/each';
-import lodashIsUndefined from 'lodash/isundefined';
+import lodashIsUndefined from 'lodash/isUndefined';
import { GA as googleAnalytics } from 'worldview-components';
import util from '../util/util';
import uiIndicator from '../ui/indicator';
diff --git a/web/js/animation/ui.js b/web/js/animation/ui.js
index 977e3f8de..8187a7e74 100644
--- a/web/js/animation/ui.js
+++ b/web/js/animation/ui.js
@@ -1,4 +1,4 @@
-import lodashIsEmpty from 'lodash/isempty';
+import lodashIsEmpty from 'lodash/isEmpty';
import Queue from 'promise-queue';
import util from '../util/util';
import uiIndicator from '../ui/indicator';
diff --git a/web/js/animation/widget.js b/web/js/animation/widget.js
index e572b5781..125b7608f 100644
--- a/web/js/animation/widget.js
+++ b/web/js/animation/widget.js
@@ -3,7 +3,7 @@ import { AnimationWidget, GA as googleAnalytics } from 'worldview-components';
import React from 'react';
import ReactDOM from 'react-dom';
import lodashWithout from 'lodash/without';
-import lodashIndexOf from 'lodash/indexof';
+import lodashIndexOf from 'lodash/indexOf';
import util from '../util/util';
export function animationWidget (models, config, ui) {
diff --git a/web/js/naturalEvents/request.js b/web/js/naturalEvents/request.js
index 12631ff3e..00bfcb9f7 100644
--- a/web/js/naturalEvents/request.js
+++ b/web/js/naturalEvents/request.js
@@ -1,6 +1,6 @@
import $ from 'jquery';
-import lodashOrderBy from 'lodash/orderby';
-import lodashUniqBy from 'lodash/uniqby';
+import lodashOrderBy from 'lodash/orderBy';
+import lodashUniqBy from 'lodash/uniqBy';
import util from '../util/util';
diff --git a/web/js/notifications/ui.js b/web/js/notifications/ui.js
index c9010e651..b8e3f51c9 100644
--- a/web/js/notifications/ui.js
+++ b/web/js/notifications/ui.js
@@ -1,6 +1,6 @@
import $ from 'jquery';
import util from '../util/util';
-import lodashIsEmpty from 'lodash/isempty';
+import lodashIsEmpty from 'lodash/isEmpty';
import wvui from '../ui/ui';
/*
* @Class