Commit 05f293d1 authored by Rodrigo Tapia-McClung's avatar Rodrigo Tapia-McClung

Clean up some TODOs

parent 475ac850
...@@ -94,7 +94,6 @@ d3.json("https://unpkg.com/d3-time-format@2.1.1/locale/es-MX.json").then(locale ...@@ -94,7 +94,6 @@ d3.json("https://unpkg.com/d3-time-format@2.1.1/locale/es-MX.json").then(locale
timeFormat = d3.timeFormat("%B_%Y"); timeFormat = d3.timeFormat("%B_%Y");
// TODO: don't need outer call to d3.json, do I? Move this to the bottom after functions definitions // TODO: don't need outer call to d3.json, do I? Move this to the bottom after functions definitions
// TODO: remove unused functions
$("#startHeader").remove(); $("#startHeader").remove();
$("#initial-backdrop").remove(); $("#initial-backdrop").remove();
$("#topRightChart")[0].style.setProperty("display", "none"); $("#topRightChart")[0].style.setProperty("display", "none");
......
...@@ -499,8 +499,6 @@ L.TimeDimension.Layer.Tile = L.TimeDimension.Layer.extend({ ...@@ -499,8 +499,6 @@ L.TimeDimension.Layer.Tile = L.TimeDimension.Layer.extend({
var time = this._timeDimension.getCurrentTime(); var time = this._timeDimension.getCurrentTime();
//TODO: get current time, parse quarter and compare tile value. Incremental add over time
// get data for time
let d = new Date(time), let d = new Date(time),
year = d.getFullYear().toString(); year = d.getFullYear().toString();
......
...@@ -326,8 +326,7 @@ L.TimeDimension.Layer.Tile = L.TimeDimension.Layer.extend({ ...@@ -326,8 +326,7 @@ L.TimeDimension.Layer.Tile = L.TimeDimension.Layer.extend({
let time = this._timeDimension.getCurrentTime(); let time = this._timeDimension.getCurrentTime();
//TODO: get current time, parse quarter and compare tile value. Incremental add over time // get current time, parse quarter and compare tile value. Incremental add over time
// get data for time
let d = new Date(time), let d = new Date(time),
year = d.getFullYear().toString(), year = d.getFullYear().toString(),
m = d.getUTCMonth(), m = d.getUTCMonth(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment