Skip to content

Commit

Permalink
Fixed indentation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Palonis committed Jan 27, 2017
1 parent 6e67955 commit 79768fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
iconSize: [32, 32],
iconAnchor: [16, 32]
}),
CITY_ARREST: L.divIcon({
CITY_ARREST: L.divIcon({
className: 'map-pin red',
html: '<i class="fa fa-gavel"></i>',
iconSize: [32, 32],
Expand Down Expand Up @@ -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,
Expand All @@ -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
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 79768fc

Please sign in to comment.