Interactive interface for browsing global, full-resolution satellite imagery
fix `prefer-spread` errors
Jason Kentf3405d48404f
diff --git a/web/js/map/animate.js b/web/js/map/animate.jsindex 196cf5fc9..f1b673e77 100644--- a/web/js/map/animate.js+++ b/web/js/map/animate.js@@ -35,7 +35,7 @@ export function mapAnimate(config, ui, store) {if (complete) resolve();if (!complete) reject(new Error('Animation interrupted!'));});- view.animate.apply(view, args);+ view.animate(...args);}).catch(() => {});};if (hasEndInView) {diff --git a/web/js/ui/ui.js b/web/js/ui/ui.jsindex 4b277d958..51e7bfa22 100644--- a/web/js/ui/ui.js+++ b/web/js/ui/ui.js@@ -16,7 +16,7 @@ export default (function(self) {* @param {Exception} cause The exception object that caused the error*/self.error = function() {- console.error.apply(console, arguments);+ console.error(...arguments);self.notify("<div class='error-header'>"