Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

correct animation function naming

Benjamin Kingc3d3a67ece70
diff --git a/web/js/animation/ui.js b/web/js/animation/ui.js
index c47e0b74c..75c9ef911 100644
--- a/web/js/animation/ui.js
+++ b/web/js/animation/ui.js
@@ -3,7 +3,7 @@ import Queue from 'promise-queue';
import util from '../util/util';
import uiIndicator from '../ui/indicator';
-export function animationui(models, ui) {
+export function animationUi(models, ui) {
var self = {};
self.events = util.events();
var dateModel = models.date;
diff --git a/web/js/main.js b/web/js/main.js
index 35b2f8d1e..d6432675a 100644
--- a/web/js/main.js
+++ b/web/js/main.js
@@ -38,7 +38,7 @@ import {mapAnimate} from './map/animate';
// Animation
import {parse as animationParser} from './animation/anim';
import {animationModel} from './animation/model';
-import {animationui} from './animation/ui';
+import {animationUi} from './animation/ui';
import {animationWidget} from './animation/widget';
import {animationRangeSelect} from './animation/range-select';
import {animationGif} from './animation/gif';
@@ -248,7 +248,7 @@ window.onload = () => {
ui.anim.rangeselect = animationRangeSelect(models, config, ui); // SETS STATE: NEEDS TO LOAD BEFORE ANIMATION WIDGET
ui.anim.widget = animationWidget(models, config, ui);
ui.anim.gif = animationGif(models, config, ui);
- ui.anim.ui = animationui(models, ui);
+ ui.anim.ui = animationUi(models, ui);
}
ui.dateLabel = dateLabel(models);