From 79768fc3f6d5b22b86ac024c7b17878466de2b02 Mon Sep 17 00:00:00 2001 From: Brandon Palonis Date: Fri, 27 Jan 2017 16:15:34 -0500 Subject: [PATCH] Fixed indentation issues --- main.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.js b/main.js index e27a438..50432fa 100644 --- a/main.js +++ b/main.js @@ -108,7 +108,7 @@ iconSize: [32, 32], iconAnchor: [16, 32] }), - CITY_ARREST: L.divIcon({ + CITY_ARREST: L.divIcon({ className: 'map-pin red', html: '', iconSize: [32, 32], @@ -146,9 +146,9 @@ record.incidentDay = parseInt(record.INCIDENTTIME.substring(8,10)); } }, - - "Arrest": { - id: 'e03a89dd-134a-4ee8-a2bd-62c40aeebc6f', + + "Arrest": { + id: 'e03a89dd-134a-4ee8-a2bd-62c40aeebc6f', primaryFiltering: 'WHERE "INCIDENTNEIGHBORHOOD" LIKE \'%Oakland\'', latLong: ['Y', 'X'], icon: iconTypes.CITY_ARREST, @@ -163,7 +163,7 @@ record.incidentMonth = parseInt(record.ARRESTTIME.substring(5,8)); record.incidentDay = parseInt(record.ARRESTTIME.substring(8,10)); } - }, + }, // City of Pittsburgh 311 data // TODO: would be great to prune 311 data to the last 30 days, like the police data @@ -256,7 +256,7 @@ Promise.all([ fetchWPRDCData('Police', { limit: 250 }), fetchWPRDCData('311', { limit: 250 }), - fetchWPRDCData('Arrest', { limit: 250 }), + fetchWPRDCData('Arrest', { limit: 250 }), fetchWPRDCData('Library') ]).then(() => { console.log('All data loaded');