Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Merge branch 'running-data' of https://github.com/nasa-gibs/worldview into animation-gif-react

Kingf79f41a04643
diff --cc package.json
index e7d6b6b1c,5ad51cbaa..1955d221f
--- a/package.json
+++ b/package.json
@@@ -1,39 -1,36 +1,39 @@@
{
- "version": "1.2.2",
- "release": "1",
- "repository": {
- "type": "git",
- "url": "https://github.com/nasa-gibs/worldview.git"
- },
- "scripts": {
- "test": "grunt test lint"
- },
- "devDependencies": {
- "buster": "0.7.12",
- "grunt": "0.4.x",
- "grunt-buster": "0.4.x",
- "grunt-contrib-clean": "0.5.x",
- "grunt-contrib-concat": "0.3.x",
- "grunt-contrib-coffee": "0.13.x",
- "grunt-contrib-compress": "0.5.x",
- "grunt-contrib-copy": "0.6.x",
- "grunt-contrib-csslint": "0.2.x",
- "grunt-contrib-cssmin": "0.7.x",
- "grunt-contrib-jshint": "0.8.x",
- "grunt-contrib-uglify": "0.6.x",
- "grunt-exec": "0.4.x",
- "grunt-git-rev-parse": "0.1.x",
- "grunt-line-remover": "0.0.x",
- "grunt-markdown": "0.7.x",
- "grunt-minjson": "0.4.x",
- "grunt-mkdir": "0.1.x",
- "grunt-rename": "0.1.x",
- "grunt-text-replace": "0.4.x",
- "phantomjs": "2.1.x",
- "jshint": "2.9.x",
- "moment": "2.13.x"
- }
-}
+ "version": "1.1.0",
+ "release": "1",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/nasa-gibs/worldview.git"
+ },
+ "scripts": {
+ "test": "grunt test lint"
+ },
+ "devDependencies": {
+ "buster": "0.7.12",
+ "grunt": "0.4.x",
+ "grunt-buster": "0.4.x",
+ "grunt-contrib-clean": "0.5.x",
+ "grunt-contrib-coffee": "0.13.x",
+ "grunt-contrib-compress": "0.5.x",
+ "grunt-contrib-concat": "0.3.x",
+ "grunt-contrib-copy": "0.6.x",
+ "grunt-contrib-csslint": "0.2.x",
+ "grunt-contrib-cssmin": "0.7.x",
+ "grunt-contrib-jshint": "0.8.x",
+ "grunt-contrib-uglify": "0.6.x",
+ "grunt-exec": "0.4.x",
+ "grunt-git-rev-parse": "0.1.x",
+ "grunt-line-remover": "0.0.x",
+ "grunt-markdown": "0.7.x",
+ "grunt-minjson": "0.4.x",
+ "grunt-mkdir": "0.1.x",
+ "grunt-rename": "0.1.x",
+ "grunt-text-replace": "0.4.x",
+ "jshint": "2.9.x",
+ "lodash": "^4.15.0",
+ "moment": "2.13.x",
+ "phantomjs": "2.1.x",
+ "react": "^15.3.1",
+ "react-dom": "^15.3.1"
+ }
- }
++}
diff --cc web/js/wv.main.js
index 7d8d4d146,3001b1cf9..116b495d1
--- a/web/js/wv.main.js
+++ b/web/js/wv.main.js
@@@ -167,12 -166,15 +167,18 @@@ $(function()
ui.timeline.pan = wv.date.timeline.pan(models, config, ui);
ui.timeline.config = wv.date.timeline.config(models, config, ui);
ui.timeline.input = wv.date.timeline.input(models, config, ui);
+ ui.anim.rangeselect = wv.anim.rangeselect(models, config, ui); // SETS STATE: NEEDS TO LOAD BEFORE ANIMATION WIDGET
+ ui.anim.widget = wv.anim.widget(models, config, ui);
+
ui.dateLabel = wv.date.label(models);
+ }
+ if (config.startDate) {
+ if(!wv.util.browser.small) { // If mobile device, do not build timeline
+ timelineInit();
+ }
ui.dateWheels = wv.date.wheels(models, config);
}
+
ui.rubberband = wv.image.rubberband(models, ui, config);
ui.image = wv.image.panel(models, ui, config);
if ( config.features.dataDownload ) {