diff --git a/web/static/js/swapp.js b/web/static/js/swapp.js index de9c524..386e095 100644 --- a/web/static/js/swapp.js +++ b/web/static/js/swapp.js @@ -50,6 +50,7 @@ this.stopped_at = moment().add(7, 'days').hours(0).minutes(0).seconds(0); started_at = this.started_at.format("YYYY-MM-DDTHH:mm:ss"); stopped_at = this.stopped_at.format("YYYY-MM-DDTHH:mm:ss"); + console.info("Setting time interval from " + started_at + " to " + stopped_at + "…"); active_targets.forEach(function(target){ console.info("Loading CSV data of " + target.name + "…"); return this$.loadData(target.slug, started_at, stopped_at).then(function(data){ @@ -527,7 +528,7 @@ Orbits.prototype.orbitersElements = {}; Orbits.prototype.initOrbiter = function(slug, config, data){ var orbit_ellipse, orbiter, orbit_line, orbit_section, this$ = this; - console.info("Initializing target " + slug + "'s orbit…"); + console.info("Initializing orbit of " + config.name + "…"); if (slug in this.orbitersElements) { throw new Error("Second init of " + slug); } diff --git a/web/static/js/swapp.ls b/web/static/js/swapp.ls index b851acf..5abf4b5 100644 --- a/web/static/js/swapp.ls +++ b/web/static/js/swapp.ls @@ -70,6 +70,7 @@ https://gitlab.irap.omp.eu/CDPP/SPACEWEATHERONLINE @stopped_at = moment().add(7, 'days').hours(0).minutes(0).seconds(0) started_at = @started_at.format("YYYY-MM-DDTHH:mm:ss") stopped_at = @stopped_at.format("YYYY-MM-DDTHH:mm:ss") + console.info "Setting time interval from #{started_at} to #{stopped_at}…" active_targets.forEach((target) ~> console.info "Loading CSV data of #{target.name}…" @loadData(target.slug, started_at, stopped_at).then( @@ -549,7 +550,7 @@ export class Orbits orbitersElements: {} initOrbiter: (slug, config, data) -> - console.info "Initializing target #{slug}'s orbit…" + console.info "Initializing orbit of #{config.name}…" if slug of @orbitersElements then throw new Error("Second init of #{slug}") @extremum = Math.max(@extremum, 1.11 * d3.max(data, (d) -> -- libgit2 0.21.2