Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Changed import file paths to be consistently referenced.

ZachTRiceb35867024760
diff --git a/web/js/feedback.js b/web/js/feedback.js
index 8eb478c86..7f9a4f871 100644
--- a/web/js/feedback.js
+++ b/web/js/feedback.js
@@ -5,7 +5,7 @@
* which is included via config.scripts in web/config/wv.json
*/
-import util from './util/util.js';
+import util from './util/util';
export const feedbackModal = (function () {
var self = {};
diff --git a/web/js/polyfill.js b/web/js/polyfill.js
index 3dc24b4eb..78ab2e048 100644
--- a/web/js/polyfill.js
+++ b/web/js/polyfill.js
@@ -6,7 +6,7 @@
// ===========================================================================
import $ from 'jquery';
-import util from './util/util.js';
+import util from './util/util';
export function polyfill () {
/*
diff --git a/web/js/ui/info.js b/web/js/ui/info.js
index 740456ad8..0a49cdbcf 100644
--- a/web/js/ui/info.js
+++ b/web/js/ui/info.js
@@ -1,7 +1,7 @@
import $ from 'jquery';
-import wvui from './ui.js';
-import util from '../util/util.js';
-import feedbackModal from '../feedback.js';
+import wvui from './ui';
+import util from '../util/util';
+import feedbackModal from '../feedback';
export function info (ui, config) {
var selector = '#wv-info-button';
diff --git a/web/js/ui/mouse.js b/web/js/ui/mouse.js
index a4c8a4d4c..32b6ee7a1 100644
--- a/web/js/ui/mouse.js
+++ b/web/js/ui/mouse.js
@@ -1,4 +1,4 @@
-import util from '../util/util.js';
+import util from '../util/util';
export const mouse = {
click: function ($element, callback) {
diff --git a/web/js/ui/ui.js b/web/js/ui/ui.js
index f0764d901..ba3504356 100644
--- a/web/js/ui/ui.js
+++ b/web/js/ui/ui.js
@@ -1,7 +1,7 @@
import $ from 'jquery';
-import loadingIndicator from './indicator.js';
-import info from './info.js';
-import mouse from './mouse.js';
+import loadingIndicator from './indicator';
+import info from './info';
+import mouse from './mouse';
export const wvui = (function (self) {
// Export other ui methods
diff --git a/web/js/util/load.js b/web/js/util/load.js
index 0d8b15a04..c346f4075 100644
--- a/web/js/util/load.js
+++ b/web/js/util/load.js
@@ -1,7 +1,7 @@
import $ from 'jquery';
import size from 'lodash/size';
-import wvui from '../ui/ui.js';
-import brand from '../brand.js';
+import wvui from '../ui/ui';
+import brand from '../brand';
export const load = (function () {
var self = {};
diff --git a/web/js/util/util.js b/web/js/util/util.js
index e4d627860..fdb2068aa 100644
--- a/web/js/util/util.js
+++ b/web/js/util/util.js
@@ -8,10 +8,10 @@
import $ from 'jquery';
import each from 'lodash/each';
import isNull from 'lodash/isNull';
-import wvui from '../ui/ui.js';
-import browser from './browser.js';
-import events from './events.js';
-import load from './load.js';
+import wvui from '../ui/ui';
+import browser from './browser';
+import events from './events';
+import load from './load';
export const util = (function () {
var self = {};