Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fordecyt_2019
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rodrigo Tapia-McClung
fordecyt_2019
Commits
05f293d1
Commit
05f293d1
authored
Mar 20, 2021
by
Rodrigo Tapia-McClung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up some TODOs
parent
475ac850
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
5 deletions
+1
-5
centropais_functions.js
public/js/centropais_functions.js
+0
-1
centropais_periurbano.js
public/js/centropais_periurbano.js
+0
-2
evolucion_urbana.js
public/js/evolucion_urbana.js
+1
-2
No files found.
public/js/centropais_functions.js
View file @
05f293d1
...
@@ -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"
);
...
...
public/js/centropais_periurbano.js
View file @
05f293d1
...
@@ -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
();
...
...
public/js/evolucion_urbana.js
View file @
05f293d1
...
@@ -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
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment