summaryrefslogtreecommitdiff
path: root/client/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-11-13 22:05:07 +0100
committerJules Laplace <julescarbon@gmail.com>2018-11-13 22:05:07 +0100
commitc1c058c662109696fda78b8512aebfd197974b5e (patch)
tree02299f4970edbc69f4cbd905583c8cbf91b68022 /client/index.js
parentd0940e5b6023e6f5ed31c9542cd5081205979372 (diff)
deploy bundle
Diffstat (limited to 'client/index.js')
-rw-r--r--client/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/index.js b/client/index.js
index c1b740b..13f3558 100644
--- a/client/index.js
+++ b/client/index.js
@@ -113,6 +113,8 @@ data.load().then(lists => {
date,
Math.log(Math.log(total + 10) + 1),
"** !!, $$, {} killed, [] injured".replace('**', l[gv_fields.date]).replace('!!', l[gv_fields.city_or_county]).replace('$$', l[gv_fields.state]).replace('{}', l[gv_fields.n_killed]).replace('[]', l[gv_fields.n_injured]),
+ l[gv_fields.n_killed],
+ l[gv_fields.n_injured],
]
}).filter(n => !!n)
@@ -125,7 +127,7 @@ data.load().then(lists => {
datasets['AR-15 2016-18'].labels = ar_lines.map(a => a[2])
// datasets['AR-15 2016-18'].max_i = 3 * 12 + 4
- // console.log(ar_lines.length)
+ console.log(ar_lines.length)
const fm = lists.firearms_manufactured
datasets['Firearms Manufactured'] = {}