Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix Spelling error #969

Benjamin Kingcf4619347f94
diff --git a/web/js/animation/gif-creater.js b/web/js/animation/gif-stream.js
similarity index 99%
rename from web/js/animation/gif-creater.js
rename to web/js/animation/gif-stream.js
index 4d8602db9..223cd88d0 100644
--- a/web/js/animation/gif-creater.js
+++ b/web/js/animation/gif-stream.js
@@ -4,7 +4,7 @@ import Promise from 'bluebird';
import { ReadableStream } from 'web-streams-polyfill';
import lodashEach from 'lodash/each';
-export default class gifCreater {
+export default class GifStream {
constructor() {
this.canvas = null;
this.ctx = null;
diff --git a/web/js/animation/gif.js b/web/js/animation/gif.js
index 508083322..6cabd461b 100644
--- a/web/js/animation/gif.js
+++ b/web/js/animation/gif.js
@@ -2,7 +2,7 @@ import $ from 'jquery';
import 'jquery-jcrop';
import React from 'react';
import ReactDOM from 'react-dom';
-import GifCreater from './gif-creater';
+import GifStream from './gif-stream';
import lodashFind from 'lodash/find';
import lodashEach from 'lodash/each';
import lodashRound from 'lodash/round';
@@ -21,7 +21,7 @@ import {
import util from '../util/util';
import wvui from '../ui/ui';
import uiIndicator from '../ui/indicator';
-const gifCreater = new GifCreater();
+const gifStream = new GifStream();
const conversionConstant = 3.6; // we are saying that the gif compresses each total by about 3.6x
const maxGifSize = 250;
@@ -247,7 +247,7 @@ export function animationGif(models, config, ui) {
if (!imageArra) { // won't be true if there are too mant frames
return;
}
- gifCreater.createGIF({
+ gifStream.createGIF({
'gifWidth': imgWidth,
'gifHeight': imgHeight,
'images': imageArra,